about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTreyssat-Vincent Nino <treyssatvincent@users.noreply.github.com>2017-09-05 12:13:25 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-09-05 12:13:25 +0200
commitaefb4719bcab6d9a17b3f2fd063f4c2ad455223d (patch)
tree8f75247a6c26ecda78bb648b39b3717802e9973b
parent4d67bf18feefa9562a999fd47e93c816e6be3ba2 (diff)
comment correction (#4812)
-rw-r--r--.env.production.sample4
1 files changed, 2 insertions, 2 deletions
diff --git a/.env.production.sample b/.env.production.sample
index 1d8a177aa..07c887692 100644
--- a/.env.production.sample
+++ b/.env.production.sample
@@ -26,7 +26,7 @@ LOCAL_HTTPS=true
 # ALTERNATE_DOMAINS=example1.com,example2.com
 
 # Application secrets
-# Generate each with the `rake secret` task (`docker-compose run --rm web rake secret` if you use docker compose)
+# Generate each with the `RAILS_ENV=production bundle exec rake secret` task (`docker-compose run --rm web rake secret` if you use docker compose)
 PAPERCLIP_SECRET=
 SECRET_KEY_BASE=
 OTP_SECRET=
@@ -36,7 +36,7 @@ OTP_SECRET=
 # You should only generate this once per instance. If you later decide to change it, all push subscription will
 # be invalidated, requiring the users to access the website again to resubscribe.
 #
-# Generate with `rake mastodon:webpush:generate_vapid_key` task (`docker-compose run --rm web rake mastodon:webpush:generate_vapid_key` if you use docker compose)
+# Generate with `RAILS_ENV=production bundle exec rake mastodon:webpush:generate_vapid_key` task (`docker-compose run --rm web rake mastodon:webpush:generate_vapid_key` if you use docker compose)
 #
 # For more information visit https://rossta.net/blog/using-the-web-push-api-with-vapid.html
 VAPID_PRIVATE_KEY=