From 920848b0f5a0435a21ace2b488da0941005dcbb8 Mon Sep 17 00:00:00 2001 From: catborise Date: Wed, 8 Jan 2020 16:04:58 +0300 Subject: [PATCH] Updated Docker Installation (textile) --- Docker-Installation.textile | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/Docker-Installation.textile b/Docker-Installation.textile index 56d2de5..95d85eb 100644 --- a/Docker-Installation.textile +++ b/Docker-Installation.textile @@ -25,10 +25,29 @@ exit() # Login with: Username admin, password admin # Change your admin password # Add new host -# After the first start the container must be started with another command. -First you need to get the id of the container. -
docker ps -a
+ +*** + +Additional Information: +# docker run command creates new container from base image. +# to stop docker container use: +
docker stop 
+# to get cointainer id use: +
docker ps -a
 or
-
docker container ls
-# Then to start the container use this command: -
docker start 
\ No newline at end of file +docker container ls
+# After the first run, the container must be started with "start" command. +
docker start 
+ +*** +Update Webvirtcloud +# Enter running container +
docker exec -it  /bin/bash
+# Run followed commands +
cd /srv/webvirtcloud
+sudo source venv/bin/activate
+git pull
+pip install -U -r conf/requirements.txt 
+python manage.py migrate
+
+# Check webvirtcloud/settings.py.template to see if there is new configs... If it is, then copy them to webvirtcloud/settings.py file \ No newline at end of file