To install the project do the following steps:
- Install the project dependencies with
pipenv install --dev
- Copy
.env.example
to.env
- Create the docker containers with
docker-compose build
- Create the database for the first time with
docker-compose up db
- Run the whole project again with
docker-compose up
, migrations and seeding will be run when staring up the project
- To apply migrations run
docker-compose run web alembic upgrade head
- To run on local (without docker) run first
pip install -e .
and lateralembic upgrade head