Mastodon: Difference between revisions
| Line 20: | Line 20: | ||
* <tt>git clone https://github.com/tootsuite/mastodon.git ~/live</tt> | * <tt>git clone https://github.com/tootsuite/mastodon.git ~/live</tt> | ||
* <tt>cd live</tt> | * <tt>cd live</tt> | ||
* <tt>bundle config set --local deployment true</tt> | * <tt>RAILS_ENV=production bundle config set --local deployment true</tt> | ||
* <tt>bundle config set --local without development:test</tt> | * <tt>RAILS_ENV=production bundle config set --local without development:test</tt> | ||
* <tt>bundle install</tt> | * <tt>RAILS_ENV=production bundle install</tt> | ||
* <tt>RAILS_ENV=production bundle exec rake mastodon:setup</tt> | * <tt>RAILS_ENV=production bundle exec rake mastodon:setup</tt> | ||
** Use the same PostgreSQL user name you created earlier. | ** Use the same PostgreSQL user name you created earlier. | ||