| ... | ... | @@ -27,6 +27,14 @@ We will be replacing the `awesim_rails` gem with the `ood_appkit` gem, and updat |
|
|
|
+gem 'bootstrap-sass', '~> 3.3'
|
|
|
|
```
|
|
|
|
|
|
|
|
##### Use `require: 'dotenv/rails-now`
|
|
|
|
|
|
|
|
OodAppkit requires environment variables to be set before Rails loads. Modify your 'dotenv-rails' gem as follows:
|
|
|
|
|
|
|
|
```diff
|
|
|
|
+gem 'dotenv-rails', '~> 2.1', require: 'dotenv/rails-now'
|
|
|
|
```
|
|
|
|
|
|
|
|
##### Update OSC gems
|
|
|
|
|
|
|
|
```diff
|
| ... | ... | @@ -70,8 +78,8 @@ Note: if you do not wish to add the `awesim_branding` gem, you will need to upda |
|
|
|
Examples:
|
|
|
|
|
|
|
|
```diff
|
|
|
|
- outdir: File.join(AwesimRails.dataroot, "vnc", "paraview"),
|
|
|
|
+ outdir: File.join(OodAppkit.dataroot, "vnc", "paraview"),
|
|
|
|
-outdir: File.join(AwesimRails.dataroot, "vnc", "paraview"),
|
|
|
|
+outdir: File.join(OodAppkit.dataroot, "vnc", "paraview"),
|
|
|
|
|
|
|
|
-Paperclip::Attachment.default_options[:path] = "#{AwesimRails.dataroot}/uploads/:class/:id/:created_at/:attachment/:filename"
|
|
|
|
+Paperclip::Attachment.default_options[:path] = "#{OodAppkit.dataroot}/uploads/:class/:id/:created_at/:attachment/:filename"
|
| ... | ... | |