Docker install
Preparation
Install Docker and Docker Compose (may be installed automatically with Docker)
Download https://bitbucket.org/openrem/docker/get/1.0.0b2.zip
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 ofdocker-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/
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.