https://github.com/simmsb/lads-et-al
https://github.com/simmsb/lads-et-al
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/simmsb/lads-et-al
- Owner: simmsb
- Created: 2021-04-05T03:11:53.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-05T17:39:24.000Z (about 5 years ago)
- Last Synced: 2025-01-07T08:19:29.084Z (over 1 year ago)
- Language: Python
- Size: 343 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# luhack-bot-and-website
This is the repo of LUHack's Discord bot and Website.
You can visit the website at:
# 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
``` shell
poetry run alembic revision --autogenerate -m ""
```
## When the db schema has been changed, you should run
``` shell
poetry run alembic upgrade head
```
## To check if the current db schema revision is the latest
``` shell
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