This repo contains the software infrastructure for our 2024 Halloween project.
- Install poetry.
- Run
poetry install --no-root
in the top-level project directory.- You can run
poetry config virtualenvs.in-project true
to keep your .venv within the project.
- You can run
- Install npm.
- Run
npm install
.
- Run
poetry run pip freeze > requirements.txt
so that the Docker containers will be able to install the current dependencies. - Use .env.sample as a reference to create and populate an
.env.dev
file. - Run
docker compose -f .\compose.dev.yml up --build -d
. - Run
docker compose -f .\compose.dev.yml exec django python manage.py migrate
to set up your database.
- Run
poetry run pytest
to run Python tests.