From 4ec88bc32cdf6c99f422cde9e0de43a35692b64a Mon Sep 17 00:00:00 2001 From: FrancescoFdd5 Date: Wed, 8 Jan 2020 10:32:48 +0100 Subject: [PATCH] Updated Docker Installation (textile) --- Docker-Installation.textile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Docker-Installation.textile b/Docker-Installation.textile index 0282783..769f0fe 100644 --- a/Docker-Installation.textile +++ b/Docker-Installation.textile @@ -1,9 +1,9 @@ Install Docker : "Docker Installation Guide":https://docs.docker.com/install/linux/docker-ce/centos/ Steps: -# git clone https://github.com/retspen/webvirtcloud.git -# cd webvirtcloud/ -# cp webvirtcloud/settings.py.template webvirtcloud/settings.py +#
git clone https://github.com/retspen/webvirtcloud.git
+#
cd webvirtcloud/
+#
cp webvirtcloud/settings.py.template webvirtcloud/settings.py
# Generate random number:

 python
@@ -17,8 +17,8 @@ print(''.join([random.SystemRandom().choice(haystack) for _ in range(50)]))
 exit()
 
# copy 'generated code' and paste it to webvirtcloud/settings.py as SECRET_KEY = '' -# docker build -t retspen/webvirtcloud:0.1 . -# docker run -d -p 80:80 -p 6080:6080 retspen/webvirtcloud:0.1 +#
docker build -t retspen/webvirtcloud:0.1 .
+#
docker run -d -p 80:80 -p 6080:6080 retspen/webvirtcloud:0.1
# Run browser enter host url with http. # Login with: Username admin, password admin # Change your admin password @@ -29,4 +29,4 @@ First you need to get the id of the container. or
docker container ls
# Then to start the container use this command: -
docker start "docker container id"
\ No newline at end of file +
docker start 
\ No newline at end of file