Docker install

Preparation

Install

  • Extract the ZIP file and open a shell (command prompt) in the new folder

  • Customise variables in the following two files:

    • .env.prod

    • the orthanc_1 section of docker-compose.yml

  • If you are using SELinux, you will also need to edit the nginx and orthanc bind mounts in docker-compose.yml

A full description of the options are found in:

Start the containers with:

$ docker-compose up -d

Get the database and translations ready:

$ docker-compose exec openrem python manage.py makemigrations remapp --noinput
$ docker-compose exec openrem python manage.py migrate --noinput
$ docker-compose exec openrem python manage.py loaddata openskin_safelist.json
$ docker-compose exec openrem python manage.py collectstatic --noinput --clear
$ docker-compose exec openrem python manage.py compilemessages
$ docker-compose exec openrem python manage.py createsuperuser

Open a web browser and go to http://localhost/