An open API service indexing awesome lists of open source software.

https://github.com/simmsb/lads-et-al


https://github.com/simmsb/lads-et-al

Last synced: 28 days ago
JSON representation

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