Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dev-cluster-setup
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eesaan Atluri
dev-cluster-setup
Commits
e8b1a6d2
Commit
e8b1a6d2
authored
6 years ago
by
Eesaan Atluri
Browse files
Options
Downloads
Patches
Plain Diff
Update jupyter_install.md
parent
fc0b4654
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jupyter_install.md
+22
-6
22 additions, 6 deletions
jupyter_install.md
with
22 additions
and
6 deletions
jupyter_install.md
+
22
−
6
View file @
e8b1a6d2
...
@@ -23,6 +23,8 @@ The Jupyter app requires the following software to be installed on the compute n
...
@@ -23,6 +23,8 @@ The Jupyter app requires the following software to be installed on the compute n
`$ mkdir -p "${HOME}/ondemand/dev"`
`$ mkdir -p "${HOME}/ondemand/dev"`
Then reload OnDemand dashboard to see the Develop dropdown appear.
>Open OnDemand looks for apps in *special* directories on the file system.
>Open OnDemand looks for apps in *special* directories on the file system.
Two types of apps in particular are _system_ apps and _sandbox_ apps.
Two types of apps in particular are _system_ apps and _sandbox_ apps.
...
@@ -68,7 +70,7 @@ The Jupyter app requires the following software to be installed on the compute n
...
@@ -68,7 +70,7 @@ The Jupyter app requires the following software to be installed on the compute n
Notice that we are using the
**system**
:ref:
`dashboard`
to launch the
Notice that we are using the
**system**
:ref:
`dashboard`
to launch the
**sandbox**
Interactive App (Dashboard plugin).
**sandbox**
Interactive App (Dashboard plugin).
-
After creating the sandbox directory navigate in your browser to:
https://ondemand.my_center.edu
/
-
After creating the sandbox directory navigate in your browser to:
localhost:your_port
/
You should now see a
*Develop*
dropdown menu option in the top right of the
You should now see a
*Develop*
dropdown menu option in the top right of the
...
@@ -109,20 +111,34 @@ The form.yml file (User Form) located in the root of the app is for defining the
...
@@ -109,20 +111,34 @@ The form.yml file (User Form) located in the root of the app is for defining the
-
We will begin by adding a cluster for the Jupyter app to use. You do this by editing the form.yml file.
-
We will begin by adding a cluster for the Jupyter app to use. You do this by editing the form.yml file.
`vim
/var/www/ood/apps/sys
/jupyter/form.yml`
`vim
$HOME/ondemand/dev
/jupyter/form.yml`
replace `my_cluster` with a valid cluster that corresponds to a cluster configuration file located under `/etc/ood/config/clusters.d/my_cluster.yml`.
replace `my_cluster` with a valid cluster that corresponds to a cluster configuration file located under `/etc/ood/config/clusters.d/my_cluster.yml`.
-
We will also edit the module(s) that is(are) required to be loaded within our batch job to get a Jupyter Notebook Server running:
-
We will also edit the module(s) that is(are) required to be loaded within our batch job to get a Jupyter Notebook Server running:
`vim
/var/www/ood/apps/sys
/jupyter/form.yml`
`vim
${HOME}/ondemand/dev
/jupyter/form.yml`
Add `jupyterhub` to the modules section in addition to `python`.
Add `jupyterhub` to the modules section in addition to `python`.
-
Click on
`Interactive Apps`
dropdown in the dashboard.
-
Click on
`Develop`
dropdown in the dashboard.
-
click on
`Jupyter Notebook`
listed under servers tab
-
click on
`Mysandbox apps`
.
-
Click on
`Launch`
once the detailed view appears.
### 4. Deploying the app
After you have decide to deploy move your app production system.
-
Go to your OnDemand sandbox directory:
`$ cd ~/ondemand/dev`
-
Copy the app to the system deployment location as root:
`$ sudo cp -r jupyter /var/www/ood/apps/sys/`
-
In your browser navigate to the OnDemand URL and confirm you see the new app in the Interactive Apps dropdown on the Dashboard App:
-
You should see a web form for the Jupyter app. Fill in the form now and try to Launch a Jupyter batch job.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment