Skip to content

probicheaux/brackend

Repository files navigation

brackend

install docker and docker-compose

run docker-compose build

run docker-compose up in the same directory as docker-compose.yml, and then in another tab or process curl localhost:8000/api/hello/

you should get a token back, which shows you have the api up locally

make sure to do docker-compose down and docker-compose build when you're making changes

Setting up PyCharm

  • install poetry
  • poetry config --local virtualenvs.in-project true
  • run poetry install
  • set PyCharm Python interpreter from Preferences > Project > Python Interpreter

DB Migrations

With the docker container for the DB running, and the virtual env sourced, use

alembic revision --autogenerate -m "your message here"

to create a new migration

About

back end for bracket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published