diff options
author | ankitjavalkar | 2017-12-28 14:48:10 +0530 |
---|---|---|
committer | ankitjavalkar | 2018-01-04 11:37:21 +0530 |
commit | ca9e214a28dd0546855863041efe7e6d8de6710e (patch) | |
tree | b8805973a394a94b38eef66986850b78cf79f118 /README_production.rst | |
parent | 04eeb95a8f218944632dee0547babdeef2e42c53 (diff) | |
download | online_test-ca9e214a28dd0546855863041efe7e6d8de6710e.tar.gz online_test-ca9e214a28dd0546855863041efe7e6d8de6710e.tar.bz2 online_test-ca9e214a28dd0546855863041efe7e6d8de6710e.zip |
- Modify code server docker file to remove Oracle JDK, JRE
- Add decorator to tasks
Diffstat (limited to 'README_production.rst')
-rw-r--r-- | README_production.rst | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/README_production.rst b/README_production.rst index 02b2008..28b756e 100644 --- a/README_production.rst +++ b/README_production.rst @@ -63,7 +63,9 @@ To deploy this app follow the steps below: :: - $ sudo python yaksh/code_server.py + $ sudo python -m yaksh.code_server # For Python 2 + + $ sudo python3 -m yaksh.code_server # For Python 3 Put this in the background once it has started since this will not return back the prompt. It is important that the server be running @@ -194,7 +196,7 @@ Using Dockerized Code Server /path/to/online\_test 3. Create a docker image. This may take a few minutes docker build -t - yaksh\_code\_server ./docker/Dockerfile\_codeserver + yaksh\_code\_server -f ./docker/Dockerfile\_codeserver 4. Check if the image has been created using the output of, docker images @@ -204,6 +206,8 @@ Using Dockerized Code Server code\_server.py within it), it will also bind the ports of the host with those of the container +6. You can use ``invoke --list`` to get a list of all the available commands + .. _deploying-multiple-dockers: ###################################### @@ -216,11 +220,11 @@ Follow these steps to deploy and run the Django Server, MySQL instance and Code 2. Install `Docker Compose <https://docs.docker.com/compose/install/>`__ -2. Go to the directory where the project is located at: +2. Go to the ``docker`` directory where the project is located: :: - cd /path/to/online_test + cd /path/to/online_test/docker 3. Build the docker images @@ -254,6 +258,8 @@ Follow these steps to deploy and run the Django Server, MySQL instance and Code invoke clean +9. You can use ``invoke --list`` to get a list of all the available commands + .. _add-commands: |