You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2019/09/21 19:30:38 UTC

[airavata-django-portal] branch master updated: Gateways19 tutorial: adding Windows specific notes

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git


The following commit(s) were added to refs/heads/master by this push:
     new 1c5cd1f  Gateways19 tutorial: adding Windows specific notes
1c5cd1f is described below

commit 1c5cd1fdcab992c3d8539b188c264528b7de1be0
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Sat Sep 21 12:30:24 2019 -0700

    Gateways19 tutorial: adding Windows specific notes
---
 docs/tutorial/gateways2019_tutorial.md | 23 +++++++++++++++++++++--
 mkdocs.yml                             |  1 +
 2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/docs/tutorial/gateways2019_tutorial.md b/docs/tutorial/gateways2019_tutorial.md
index 11de47f..06fd101 100644
--- a/docs/tutorial/gateways2019_tutorial.md
+++ b/docs/tutorial/gateways2019_tutorial.md
@@ -141,8 +141,8 @@ Dashboard.
 
 8. Click **Save** at the bottom of the screen.
 9. Click on the **Deployments** tab.
-10. Click on the **New Deployment** button. Select the _mike.hpc.lsu.edu_ compute
-   resource in the drop down list and click **OK**.
+10. Click on the **New Deployment** button. Select the _mike.hpc.lsu.edu_
+    compute resource in the drop down list and click **OK**.
 11. For the _Application Executable Path_, provide the value `/usr/bin/true`.
     This is the only required field.
 12. Click **Save** at the bottom of the screen.
@@ -357,6 +357,10 @@ git clone https://github.com/machristie/gateways19-tutorial.git
 unzip gateways19-tutorial/airavata-django-portal.zip
 ```
 
+!!! note "Windows"
+
+    On Windows run `tar -xf gateways19-tutorial/airavata-django-portal.zip`
+
 4. Create a virtual environment.
 
 ```bash
@@ -364,12 +368,20 @@ cd $HOME/airavata-django-portal
 python3 -m venv venv
 ```
 
+!!! note "Windows"
+
+    On Windows run `python -m venv venv`
+
 5. Activate the virtual environment.
 
 ```
 source venv/bin/activate
 ```
 
+!!! note "Windows"
+
+    On Windows run `venv\Scripts\activate`
+
 6. Install the airavata-django-portal dependencies in the virtual environment.
 
 ```
@@ -383,6 +395,13 @@ export OAUTHLIB_INSECURE_TRANSPORT=1
 python manage.py runserver
 ```
 
+!!! note "Windows"
+
+    On Windows run
+
+        set OAUTHLIB_INSECURE_TRANSPORT=1
+        python manage.py runserver
+
 #### Option #2: Run the portal in a Docker container
 
 1. Make sure you have
diff --git a/mkdocs.yml b/mkdocs.yml
index 9727c6e..5294472 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -18,3 +18,4 @@ theme: readthedocs
 
 markdown_extensions:
   - sane_lists # allow restarting numbering of ordered lists
+  - admonition