... | ... | @@ -78,26 +78,7 @@ Then setup the database again: |
|
|
|
|
|
Now you should be able to access your app and test.
|
|
|
|
|
|
#### 5. Make documentation accessible again (formerly at /docs, now at /wiki)
|
|
|
|
|
|
1. Clone the docs to /wiki
|
|
|
|
|
|
# i.e. in Container Fill Sim our documentation is stored on the wiki on GitHub so we do
|
|
|
git clone git@github.com:AweSim-OSC/containerfillsim.git wiki
|
|
|
|
|
|
2. change the gitignore to hide /wiki
|
|
|
|
|
|
sed -i 's/\/docs/\/wiki/g' .gitignore
|
|
|
|
|
|
3. change the places in the app where we link to docs_path to link to wiki_path
|
|
|
|
|
|
grep docs_path app -Rl | xargs sed -i 's/docs_path/wiki_path/g'
|
|
|
|
|
|
|
|
|
In Container Fill Sim, here is an example commit: https://github.com/AweSim-OSC/containerfillsim/pull/64/commits/e48f1bfcb4f1af5e4f97e05843523e14789f236b
|
|
|
|
|
|
|
|
|
#### 6. Explicitly update status of jobs on each request
|
|
|
#### 5. Explicitly update status of jobs on each request
|
|
|
|
|
|
In v1.0.0 of osc_machete_rails we tried to auto-update the active jobs of all Statusable subclass instances. This hasn't worked reliably and will be removed in a future release. To undo this change:
|
|
|
|
... | ... | @@ -160,7 +141,7 @@ class SimulationsController < ApplicationController |
|
|
```
|
|
|
|
|
|
|
|
|
#### 7. Follow directions on app sharing
|
|
|
#### 6. Follow directions on app sharing
|
|
|
|
|
|
App sharing's setup setup now requires adding files that should be versioned with the app: https://github.com/AweSim-OSC/documentation/wiki/Sharing-apps-in-OOD#setup
|
|
|
|
... | ... | @@ -229,11 +210,22 @@ The AwesimBranding gem contains helper methods that were available in `AwesimRai |
|
|
|
|
|
##### Replace the `docs_path` with `wiki_path`
|
|
|
|
|
|
If you have documentation in a `/docs` folder, rename it to `/wiki`
|
|
|
1. If you have documentation in a `/docs` folder, rename it to `/wiki`
|
|
|
|
|
|
```diff
|
|
|
2. Change `docs_home` to `wiki_home`:
|
|
|
|
|
|
```diff
|
|
|
- <%= link_to "Tutorial", docs_path('Home') %>
|
|
|
+ <%= link_to "Tutorial", wiki_path('Home') %>
|
|
|
```
|
|
|
|
|
|
* you can do this by running the command `grep docs_path app -Rl | xargs sed -i 's/docs_path/wiki_path/g'`
|
|
|
|
|
|
3. change the gitignore to hide /wiki instead of /docs
|
|
|
|
|
|
sed -i 's/\/docs/\/wiki/g' .gitignore
|
|
|
|
|
|
|
|
|
In Container Fill Sim, here is an example commit: https://github.com/AweSim-OSC/containerfillsim/pull/64/commits/e48f1bfcb4f1af5e4f97e05843523e14789f236b
|
|
|
|
|
|
Further information at [OodAppkit](https://github.com/OSC/ood_appkit/) |
|
|
\ No newline at end of file |