doc: on the config migration page, make sure to include RAILS_ENV in the bundle
authorWard Vandewege <wvandewege@veritasgenetics.com>
Thu, 11 Jul 2019 19:47:59 +0000 (15:47 -0400)
committerWard Vandewege <wvandewege@veritasgenetics.com>
Thu, 11 Jul 2019 19:47:59 +0000 (15:47 -0400)
commands for Workbench.

No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege@veritasgenetics.com>

doc/admin/config-migration.html.textile.liquid

index c5a5ac7a48a5a8e8807c61e84f806325d1bea37f..3f10a87feb29927ed40a694e3d5ceffd85a9c145 100644 (file)
@@ -28,7 +28,7 @@ This will print the contents of @config.yml@ after merging the legacy @applicati
 If you wish to update @config.yml@ configuration by hand, or check that everything has been migrated, use @config:diff@ to print configuration items that differ between @application.yml@ and the system @config.yml@.
 
 <pre>
-$ bundle exec rake config:diff
+$ RAILS_ENV=production bundle exec rake config:diff
 </pre>
 
 This command will also report if no migrations are required.
@@ -40,7 +40,7 @@ The legacy workbench configuration is stored in @config/application.yml@.  After
 Change to the workbench server directory and use the following commands:
 
 <pre>
-$ bundle exec rake config:migrate > config.yml
+$ RAILS_ENV=production bundle exec rake config:migrate > config.yml
 $ cp config.yml /etc/arvados/config.yml
 </pre>