summaryrefslogtreecommitdiff
path: root/README_production.md
diff options
context:
space:
mode:
authorankitjavalkar2017-12-07 16:25:52 +0530
committerankitjavalkar2018-01-04 11:37:20 +0530
commit8c9c7fdf227c7a107345c70fea4cf77cc550a10f (patch)
tree45d91e438caa2dc0ff5f97ae978fc15326f94694 /README_production.md
parent0713c60a5ad4b71d4a2050d13cf30afaf37d935b (diff)
downloadonline_test-8c9c7fdf227c7a107345c70fea4cf77cc550a10f.tar.gz
online_test-8c9c7fdf227c7a107345c70fea4cf77cc550a10f.tar.bz2
online_test-8c9c7fdf227c7a107345c70fea4cf77cc550a10f.zip
Multiple changes:
- Add deployment commands to tasks.py - Add deployment commands to README_production.md
Diffstat (limited to 'README_production.md')
-rw-r--r--README_production.md25
1 files changed, 24 insertions, 1 deletions
diff --git a/README_production.md b/README_production.md
index 8b79785..1251ce0 100644
--- a/README_production.md
+++ b/README_production.md
@@ -169,7 +169,7 @@ To install this app follow the steps below:
1. Install [Docker](https://github.com/FOSSEE/online_test/blob/master/README.md)
- 1. Got to the directory where the project is located
+ 1. Go to the directory where the project is located
cd /path/to/online_test
1. Create a docker image. This may take a few minutes
@@ -181,6 +181,29 @@ To install this app follow the steps below:
1. Run the invoke script using the command ```invoke start```
The command will create and run a new docker container (that is running the code_server.py within it), it will also bind the ports of the host with those of the container
+#### Deploying Multiple Dockers
+
+ 1. Install [Docker](https://github.com/FOSSEE/online_test/blob/master/README.md)
+
+ 1. Go to the ```docker``` directory
+
+ 1. Build the docker images
+ invoke build
+
+ 1. Run the containers and scripts necessary to deploy the web application
+ invoke deploy
+
+ Use ```invoke deploy --fixtures``` to load the fixtures
+
+ 1. Create the superuser and moderator group
+ invoke createsuperuser
+
+ 1. Stop the containers
+ invoke halt
+
+ 1. Remove the containers
+ invoke clean
+
#### Additional commands available
We provide several convenient commands for you to use: