Skip to content

Latest commit

 

History

History
44 lines (39 loc) · 1.32 KB

install_docker.md

File metadata and controls

44 lines (39 loc) · 1.32 KB

Install Docker

Installation instructions with docker, assuming that the host machine setup is complete.

Docker Setup

  • 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

Updating

  • Update the git repo
  • Restart services
    docker compose up -d