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/16 18:39:21 UTC
[airavata-django-portal] 05/10: tutorial: minor fixes
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 8a22eecb9f8c414cc7873fd1cfaf9175ef754d91
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri Jun 11 13:29:28 2021 -0400
tutorial: minor fixes
---
docs/tutorial/gateways_tutorial.md | 44 ++++++++++++++++++++++----------------
1 file changed, 26 insertions(+), 18 deletions(-)
diff --git a/docs/tutorial/gateways_tutorial.md b/docs/tutorial/gateways_tutorial.md
index 1f31c17..863dbc8 100644
--- a/docs/tutorial/gateways_tutorial.md
+++ b/docs/tutorial/gateways_tutorial.md
@@ -22,21 +22,22 @@ Python 3.6-3.9 are supported, but I highly recommend you download and use
1. Download and install Python 3.9.
- (macOS/Windows): Download from https://www.python.org/downloads/
- (Linux): use your distribution's package manager to install Python 3.9
-2. (macOS/Linux) Verify you have installed Python 3.9. Open a terminal and run `python3.9 --version`.
+2. (macOS/Linux) Verify you have installed Python 3.9. Open a terminal and run
+ `python3.9 --version`.
```
$ python3.9 --version
Python 3.9.5
```
-3. (Windows) Verify you have installed Python 3.9. Open `cmd` and run `py --version`:
+3. (Windows) Verify you have installed Python 3.9. Open `cmd` and run
+ `py --version`:
```text
C:\Users\machrist>py --version
Python 3.9.5
```
-
!!! note "Special note for Windows Home users"
If you have Windows Home installed, you'll need to either use a **remote
@@ -719,9 +720,9 @@ docker exec gateways19-tutorial touch /code/django_airavata/wsgi.py
These commands:
-1. install our package's dependencies,
-2. install the package into the container's Python environment, and
-3. touches the wsgi.py to trigger a reload of the Django portal dev server.
+1. install our custom django app package and its dependencies into the
+ container's Python environment, and
+2. touches the wsgi.py to trigger a reload of the Django portal dev server.
### Use the GaussianEigenvaluesViewProvider with the Gaussian log output file
@@ -981,17 +982,25 @@ urlpatterns = [
```html
...
-<h1>Hello World</h1>
-
-<!-- STARTING HERE -->
-<div class="card">
- <div class="card-header">Run "echo" for different languages</div>
- <div class="card-body">
- <select id="greeting-select"></select>
- <button id="run-button" class="btn btn-primary">Run</button>
- </div>
+<div class="main-content-wrapper">
+ <main class="main-content">
+ <div class="container-fluid">
+ <h1>Hello World</h1>
+
+ <!-- STARTING HERE -->
+ <div class="card">
+ <div class="card-header">
+ Run "echo" for different languages
+ </div>
+ <div class="card-body">
+ <select id="greeting-select"></select>
+ <button id="run-button" class="btn btn-primary">Run</button>
+ </div>
+ </div>
+ <!-- ENDING HERE -->
+ </div>
+ </main>
</div>
-<!-- ENDING HERE -->
...
```
@@ -1006,8 +1015,7 @@ urlpatterns = [
HERE** comments.
```html
-{% extends 'base.html' %} {% load static %} ... {% endblock content %} {% block
-scripts %}
+{% block scripts %}
<script src="{% static 'django_airavata_api/dist/airavata-api.js' %}"></script>
<script>
const { models, services, session, utils } = AiravataAPI;