Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

Latest commit

 

History

History
25 lines (20 loc) · 1.12 KB

README.md

File metadata and controls

25 lines (20 loc) · 1.12 KB

mathhub_docker

Install

It is recommended to get the fully setup up version from docker hub by running
docker pull kwarc/mathhub

Run

For the web server (will start on localhost:9999) docker run -d -p 9999:80 kwarc/mathhub start-mh For internal configuration/access (i.e. bash) docker run -t -i kwarc/mathhub /bin/bash For developing on the machine directly while server is active (to see results of changes immediately) docker run -ti -p 9999:80 kwarc/mathhub start-mhd

An alternative option is to use shared files, and develop on the local machine, e.g.: docker run -d -p 9999:80 -v ~/MathHub/sites/all/modules/:/var/www/MathHub/sites/all/modules/ kwarc/mathhub start-mh

The preconfigured administration account is admin with default password admin (please change the password if making the instance publicly accessible).

Manual Setup

Do docker build . in the top directory. Then run the web server (see above) and go to localhost:9999/install.php to finish setup. Finally, configure as described here.