Skip to content

simmsb/lads-et-al

Repository files navigation

luhack-bot-and-website

This is the repo of LUHack's Discord bot and Website.

You can visit the website at: https://scc-luhack.lancs.ac.uk

secrets setup

  • Create a copy of .env.example as .env and fill in the secrets

poetry setup

https://github.com/sdispater/poetry

poetry install

running the bot

poetry run start_bot

running the writeups server

poetry run uvicorn site.site:app

performing database migrations

After making changes to the db schema, you should run

poetry run alembic revision --autogenerate -m "<description of schema change>"

When the db schema has been changed, you should run

poetry run alembic upgrade head

To check if the current db schema revision is the latest

poetry run alembic current
  • It should show a revision hash with (head) next to it if the db schema is up to data.

required postgres extensions

  • uuid-ossp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published