Webpacker addition after v1.3.3 requires a documentation as well.

This commit is contained in:
Ira Abramov 2017-05-13 18:48:49 +03:00
parent 3f4db4fe31
commit acf56f2266
1 changed files with 6 additions and 0 deletions

View File

@ -31,8 +31,14 @@ To setup the `mastodon_development` database, run:
You can then run Mastodon with:
./bin/webpack-dev-server & # New after 1.3.3
bundle exec rails server
Another approach to manage the different servers starting (redis, rails, webpacker, Sidekiq, streaming):
gem install foreman --no-ri --no-rdoc
foreman start
And open `http://localhost:3000` in your browser. Background jobs run inline (aka synchronously) in the development environment, so you don't need to run a Sidekiq process.
By default, your development environment will have an admin account created for you to use - the email address will be `admin@YOURDOMAIN` (e.g. admin@localhost:3000) and the password will be `mastodonadmin`.