Docker-installasjon

Forberedelse

Installasjon

  • Pakk ut ZIP-filen og åpne et skall (kommandolinje) i den nye mappen

  • Tilpass variabler i disse to filene:

    • .env.prod

    • orthanc_1-delen av 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 beholderen med:

$ 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

Åpne en nettleser og gå til http://localhost/

If you want to run the OpenREM in a virtual directory (like http://server/dms/) there is further configuration to be done - go to Running the OpenREM website in a virtual directory.