diff options
author | David Huerta <huertanix@users.noreply.github.com> | 2017-04-07 19:46:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-07 19:46:07 -0400 |
commit | 4fb24a70d38ff1097f36069caf8532741c486135 (patch) | |
tree | 76d829152fd2d324084cc2524007c658890bbb58 /docs/Running-Mastodon | |
parent | 36a83cc4f9d00732b1cec97c9bff4427a61025b1 (diff) | |
parent | a872f2f4c64f4a370fa1a92a28f9c07c1dd3b06d (diff) |
Merge branch 'master' into patch-1
Diffstat (limited to 'docs/Running-Mastodon')
-rw-r--r-- | docs/Running-Mastodon/Administration-guide.md | 2 | ||||
-rw-r--r-- | docs/Running-Mastodon/Heroku-guide.md | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/docs/Running-Mastodon/Administration-guide.md b/docs/Running-Mastodon/Administration-guide.md index dd69eb303..09b0f1df1 100644 --- a/docs/Running-Mastodon/Administration-guide.md +++ b/docs/Running-Mastodon/Administration-guide.md @@ -7,7 +7,7 @@ So, you have a working Mastodon instance... now what? The following rake task: - rake mastodon:make_admin USERNAME=alice + RAILS_ENV=production bundle exec rails mastodon:make_admin USERNAME=alice Would turn the local user "alice" into an admin. diff --git a/docs/Running-Mastodon/Heroku-guide.md b/docs/Running-Mastodon/Heroku-guide.md index 16f6930e4..4978a20ac 100644 --- a/docs/Running-Mastodon/Heroku-guide.md +++ b/docs/Running-Mastodon/Heroku-guide.md @@ -81,8 +81,6 @@ You can deploy from the Heroku web interface or from the command line. Run: after you first deploy to set up the first database. -You may need to use the `heroku` CLI application to run: +To make yourself an admin, you may need to use the `heroku` CLI application after creating an account online: - `USERNAME=yourUsername rails mastodon:make_admin` - -to make yourself an admin. + `heroku rake mastodon:make_admin USERNAME=yourUsername` |