To run DaMold web application on local server, DaMold is provided as a fully configured Docker container which can be easily run on any operating systems.
For respective operating system follow the given link below to get and install the Docker running before using DaMold docker.
**On Mac OSX **
Download docker for Mac OSX and then follow the instruction How to install Docker on Mac OSX?.
On WIndows
Download docker for Windows and then follow the instruction How to install Docker on Windows?.
On Linux
Download docker for Linux and then follow the instruction How to install Docker on Linux?.
After installtion of Docker, download DaMold Docker and follow these steps to get DaMold web application running on local computer.
Step1: Uncompress the downloaded file (Damold_v1.0.zip) and go in DaMold directory with following commands:
unzip DaMold_v1.0.zip
cd DaMold
Step2: Build the docker container for DaMold tool. The Docker image name will be damold.
docker build -t damold .
Step3: After building damold docker stop apache webserver (if running) before running DaMold web application in Docker.
# For Mac OSX
sudo /usr/sbin/apachectl stop
# For ubuntu
sudo service apache2 stop
Step4: After building damold docker container run the damold with following command.
docker run --name damold --restart always -p 80:80 -d damold
Step5: After running the Damold docker container, check the status of running container with follwoing command:
docker ps
The output of above command will look like following:
#CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
#3f599e1d69d4 damold "/bin/sh -c '/bin/bas" 4 seconds ago Up 2 seconds 0.0.0.0:80->80/tcp damold
Step6: Now open the web browser and type the URL http://localhost/damold/index.html
# For Mac OSX
sudo /usr/sbin/apachectl stop
# For ubuntu
sudo service apache2 stop
docker run --name damold --restart always -p 80:80 -d damold
docker exec -it 3f599e1d69d4 /bin/bash
In above command 3f599e1d69d4 is Container ID
docker ps
docker stop damold
docker rm damold