Skip to content

Commit

Permalink
WIP: Gateways 2019 tutorial: intro
Browse files Browse the repository at this point in the history
  • Loading branch information
machristie committed Aug 13, 2019
1 parent 432732b commit d051236
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
50 changes: 50 additions & 0 deletions docs/tutorial/gateways2019_tutorial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Gateways 2019 Tutorial

Objective: learn the basics of the Apache Airavata Django Portal and how to make
both simple and complex customizations to the user interface.

Prerequisites: tutorial attendees should have:

- a laptop on which to write Python code
- Git client

We'll install Python and Node.js as part of the tutorial.

## Outline

- Introduction
- Presentation: Overview of Airavata and Django Portal
- History of the Airavata UI and how did we get here
- Hands on: run a basic computational experiment in the Django portal
- Tutorial exercise: customize the input user interface for an application
- (Optional) Tutorial exercise: Create a custom web component to customize the
input interface
- Tutorial exercise: Create a custom output viewer for an output file
- Tutorial exercise: Create a custom Django app
- use the `AiravataAPI` JavaScript library for utilizing the backend Airavata
API
- develop a simple custom user interface for setting up and visualizing
computational experiments

## Hands on: run a Gaussian computational experiment in the Django portal

### Create a portal user account

First, you'll need a user account. Go to the
[Create Account](https://pearc19.scigap.org/auth/create-account) page and select
**Sign in with existing institution credentials**. This will take you to the
CILogon institution selection page. If you don't find your institution listed
here, go back to the **Create Account** page and fill out the form to create an
account with a username, password, etc.

After you've logged in, an administrator can grant you access to run the
Gaussian application. During the tutorial we'll grant you access right away and
let you know.

When you log in for the first time you will see a list of applications that are
available in this science gateway. Applications that you are not able to run are
greyed out but the other ones you can run. Once you are granted access, refresh
the page and you should now see that you the **Gaussian** application is not
greyed out.

### Submit a test job
5 changes: 5 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,10 @@ nav:
- Adding a Django App: dev/new_django_app.md
- Developing the Frontend: dev/developing_frontend.md
- Developing the Backend: dev/developing_backend.md
- Tutorials:
- Gateways 2019: tutorial/gateways2019_tutorial.md

theme: readthedocs

markdown_extensions:
- mdx_truly_sane_lists
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
flake8==3.5.0
flake8-isort==2.5
mkdocs==1.0.4
mdx-truly-sane-lists==1.2

-e ".[dev]"

0 comments on commit d051236

Please sign in to comment.