浏览代码

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

Ira Abramov 7 年之前
父节点
当前提交
acf56f2266
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      Running-Mastodon/Development-guide.md

+ 6 - 0
Running-Mastodon/Development-guide.md

@@ -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`.