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:45:16 +0000 (15:45 -0400)
committerWard Vandewege <wvandewege@veritasgenetics.com>
Thu, 11 Jul 2019 19:46:19 +0000 (15:46 -0400)
commands.

No issue #

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

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

index 4862bfe3334b02f57a439fa9e0e9e5ff6f63c679..c5a5ac7a48a5a8e8807c61e84f806325d1bea37f 100644 (file)
@@ -19,7 +19,7 @@ The legacy API server configuration is stored in @config/application.yml@ and @c
 Change to the API 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>
 
@@ -49,7 +49,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.