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 2021/06/17 16:41:28 UTC

[airavata-django-portal] 05/05: tutorial: windows instructions equivalent to `cd $HOME`

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

commit 6f9048fce260b3097cc99e56c2f4ac9857b146fd
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Thu Jun 17 12:14:46 2021 -0400

    tutorial: windows instructions equivalent to `cd $HOME`
---
 docs/tutorial/custom_ui_tutorial.md | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/docs/tutorial/custom_ui_tutorial.md b/docs/tutorial/custom_ui_tutorial.md
index 42f2ac1..343b8af 100644
--- a/docs/tutorial/custom_ui_tutorial.md
+++ b/docs/tutorial/custom_ui_tutorial.md
@@ -390,7 +390,7 @@ package a Django extension.
 
 === "Windows"
 
-        C:\Users\username>cd %HOMEDRIVE%%HOMEPATH%
+        C:\Users\username>cd %userprofile%
 
         C:\Users\username>py -m venv tutorial-env
 
@@ -474,7 +474,7 @@ options:
 
     2. Clone the custom_ui_tutorial_app and airavata-django-portal repositories.
 
-            (tutorial-env) C:\Users\username>cd %HOMEDRIVE%%HOMEPATH%
+            (tutorial-env) C:\Users\username>cd %userprofile%
 
             (tutorial-env) C:\Users\username>git clone https://github.com/machristie/custom_ui_tutorial_app.git custom_ui_tutorial_app-final
 
@@ -565,9 +565,13 @@ Now we'll also generate and implement a **Gaussian Eigenvalues View** provider.
    code. First, change into the `custom_ui_tutorial_app` generated in the
    previous step:
 
-```sh
-cd $HOME/custom_ui_tutorial_app
-```
+=== "macOS/Linux"
+
+        (tutorial-env) $ cd $HOME/custom_ui_tutorial_app
+
+=== "Windows"
+
+        (tutorial-env) C:\Users\username>cd %userprofile%\custom_ui_tutorial_app
 
 2. Run the following cookiecutter template: