Installation instructions with docker, assuming that the host machine setup is complete.
- Clone the repository, or just download the relevant files:
- Make sure docker and docker-compose-plugin is installed
- Copy override example and adjust as necessary:
cp docker-compose.override.example.yml docker-compose.override.yml
- Copy env example and adjust as necessary. Most values will be set to working
defaults
cp .env.example .env
- Start services
docker compose up -d
- Load initial fixtures
docker compose exec app ./manage.py load_initial_fixtures
- Create a super user
docker compose exec app ./manage.py createsuperuser
- Import data from ESTAT
docker compose exec app ./manage.py estat_import
- Update the git repo
- Restart services
docker compose up -d