Skip to content

Commit 49536d9

Browse files
committed
fix styling code
1 parent 7db694f commit 49536d9

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

ondemand/README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
- [Jupyter App Tutorial](#jupyter-app-tutorial)
44
- [Passenger App Tutorial](#passenger-app-tutorial)
5+
- [XDMoD Integration Tutorial](#xdmod-integration-tutorial)
56

67
## External links
78

@@ -793,7 +794,7 @@ Notes:
793794

794795
Reload via "Restart Web Server"
795796

796-
1. In File editor, insert `<pre>#{`df`}</pre>` into response body and save
797+
1. In File editor, insert ``<pre>#{`df`}</pre>`` into response body and save
797798
2. Access app and reload. Changes do not display.
798799
3. In App Editor/Dashboard, click Develop => Restart Web Server
799800
4. Access app and reload
@@ -833,15 +834,15 @@ Add category:
833834
1. Click Files.
834835
2. Edit manifest.yml.
835836

836-
category: Files
837-
subcategory: Utilities
837+
category: Files
838+
subcategory: Utilities
838839

839840
Deploy app
840841

841842
1. In App Editor, click Shell
842843

843-
cd ..
844-
sudo cp -r df /var/www/ood/apps/sys/df
844+
cd ..
845+
sudo cp -r df /var/www/ood/apps/sys/df
845846

846847
2. Reload dashboard/app editor and see app appear in dropdown. Launch it.
847848
3. Initialize app. Notice shell connection lost.
@@ -864,9 +865,8 @@ Notes:
864865

865866
In App Editor, click Shell
866867

867-
cd ..
868-
sudo cp -r df /var/www/ood/apps/sys
869-
chmod 700
868+
cd /var/www/ood/apps/sys
869+
chmod 700 df
870870

871871
Notice hpcadmin does not have access
872872

@@ -889,6 +889,10 @@ Notes
889889

890890
#### Benefits for user
891891

892+
App is branded to look like an OnDemand app
893+
894+
Navbar contains link back to the dashboard.
895+
892896
#### Benefits for developer
893897

894898
You can make some changes without app restart
@@ -902,6 +906,8 @@ There is a unit test. You can change the test first, then change the code to ver
902906
1. Open shell.
903907
2. Execute `rake`.
904908

909+
Many status apps will do the same thing - get data from a shell command, parse it into an intermediate object, use that to generate a view.
910+
905911
Notes:
906912

907913
* See tutorial for details: https://osc.github.io/ood-documentation/master/app-development/tutorials-passenger-apps/ps-to-quota.html

0 commit comments

Comments
 (0)