This project runs using Docker. It should work consistently on Windows, macOS or Linux machines.
Follow the below steps to run a local development environment.
- Ensure you have the following installed:
- Clone the project,
cd
to it in Terminal/Command Prompt and run the following:
docker compose up
- Browse the project at http://127.0.0.1:8000/api/health-check/
To create a superuser to access the Django admin follow these steps.
- Run the below command and follow the in terminal instructions:
docker compose run --rm app sh -c "python manage.py createsuperuser"
- Browse the Django admin at [http://127.0.0.1:8000/admin] and login.
To clear all storage (including the database) and start fresh:
docker compose down --volumes
docker compose up