File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -690,6 +690,21 @@ Jupyter system app in the menu along with your sandbox development app.
690690
691691# # Passenger app tutorial
692692
693+ # ## Ensure environment for developing is configured
694+
695+ Configure OnDemand to specify ssh dev host
696+
697+ 1. Open Shell app from Sandbox apps
698+ 2. Notice the host is the ondemand
699+
700+ Use ondemand SCL
701+
702+ 1. `which ruby`. OnDemand uses SoftwareCollections for RHEL7.
703+ 2. `scl --list` shows the SCLs. To source the environment, `source scl_source enable ondemand`.
704+ 3. For convenience, this was added to `.bash_profile` - `cat ~/.bash_profile`
705+ 4. OnDemand configured to ssh to OnDemand host for development `cat /etc/ood/config/apps/dashboard/env`
706+
707+
693708# ## Create a simplest app from scratch
694709
695710Create new app
@@ -917,12 +932,6 @@ Notes:
917932* https://github.com/OSC/ood-example-ps
918933
919934
920- # ## Use the correct environment when developing apps
921-
922- 1. Open Shell app from Sandbox apps. `which rake` and `which ruby`. OnDemand uses SoftwareCollections for RHEL7.
923- 2. `scl --list` shows the SCLs. To source the environment, `source scl_source enable ondemand`.
924- 3. For convenience, this was added to .bash_profile : ` cat ~/.bash_profile`
925- 4. OnDemand configured to ssh to OnDemand host for development `cat /etc/ood/config/apps/dashboard/env`
926935
927936# ## Apps can use own dependencies
928937
You can’t perform that action at this time.
0 commit comments