Käyttää HSL:n avointa rajapintaa sekä OpenStreetMapin karttaa.
- Clone the repo in your favorite way
- Copy
.env-example
to.env
in project root and app-directory. - In
app/.env
change values forSECRET_KEY
,DEBUG
,ALLOWED_HOSTS
andCSRF_TRUSTED_ORIGINS
- Build the container
docker compose build
- Edit
docker-compose.yml
and uncomment preferred command to run Django - Run the container
docker compose up -d
- Run migrations
docker compose exec app python manage.py migrate
- Create superuser
docker compose exec app python manage.py createsuperuser
- Collect static files
docker compose exec app python manage.py collectstatic --no-input