Merge pull request #5218 from Supermathie/master

Updated documentation after running through it
This commit is contained in:
Guo Xiang Tan 2017-10-03 14:16:32 +08:00 committed by GitHub
commit 9449cb174f
1 changed files with 3 additions and 7 deletions

View File

@ -59,17 +59,13 @@ If everything goes alright, let's clone Discourse and start hacking:
# launch discourse
bundle exec rails s -b 0.0.0.0 # open browser on http://localhost:3000 and you should see Discourse
Create a test account, and enable it with:
Create an admin account with:
bundle exec rails c
u = User.find(1)
u.activate
u.grant_admin!
exit
bundle exec rake admin:create
Discourse does a lot of stuff async, so it's better to run sidekiq even on development mode:
ruby $(mailcatcher) # open http://localhost:1080 to see the emails, stop with pkill -f mailcatcher
mailcatcher # open http://localhost:1080 to see the emails, stop with pkill -f mailcatcher
bundle exec sidekiq # open http://localhost:3000/sidekiq to see queues
bundle exec rails server