Clone this repo
- Install docker
cd /home
- If you wish to save the progress create a docker volume
sudo docker volume create <volume_name>
(volume name could be anything) sudo docker build -t <image_name> .
(image name could be anything)- For running the image do
sudo docker run -it -p 8080:80 --name <container_name> -v <volume_name>:/home <image_name>
(the container name could be anthing) - After this you will be logged in as a root user into a docker container running this image where you can use all the aliases (like
userGen
,domainPref
etc) - To access the file locally in the browser type
tmux new-session -d -s apache 'apache2ctl -D FOREGROUND'
in the terminal (This will run the apache server in a new terminal in the background) - If you wish to exit the docker container you can just type
exit
or usectrl + d
- If you wish to start the server again then use
sudo docker start <container_name>
and thensudo docker exec -it <container_name> bash
to run the container in interactive state. - To access the
mentees_domain.txt
file from the browser go tohttp://localhost:8080/mentees_domain.txt