mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Merge pull request #914 from Supermathie/sysadmin-docs
documentation: add instructions on updating
This commit is contained in:
commit
bb063f2573
1 changed files with 17 additions and 0 deletions
|
@ -249,3 +249,20 @@ Add the following line:
|
||||||
@reboot RUBY_GC_MALLOC_LIMIT=900000000 RAILS_ROOT=~/discourse RAILS_ENV=production NUM_WEBS=4 bluepill --no-privileged -c ~/.bluepill load ~/discourse/config/discourse.pill
|
@reboot RUBY_GC_MALLOC_LIMIT=900000000 RAILS_ROOT=~/discourse RAILS_ENV=production NUM_WEBS=4 bluepill --no-privileged -c ~/.bluepill load ~/discourse/config/discourse.pill
|
||||||
|
|
||||||
Congratulations! You've got Discourse installed and running!
|
Congratulations! You've got Discourse installed and running!
|
||||||
|
|
||||||
|
## Updating Discourse
|
||||||
|
|
||||||
|
# Run these commands as the discourse user
|
||||||
|
bluepill stop
|
||||||
|
# Pull down the latest release
|
||||||
|
cd discourse
|
||||||
|
git checkout master
|
||||||
|
git pull
|
||||||
|
git fetch --tags
|
||||||
|
# To run on the latest version instead of bleeding-edge:
|
||||||
|
#git checkout latest-release
|
||||||
|
bundle install --deployment
|
||||||
|
RUBY_GC_MALLOC_LIMIT=900000000 RAILS_ENV=production bundle exec rake db:migrate
|
||||||
|
RUBY_GC_MALLOC_LIMIT=900000000 RAILS_ENV=production bundle exec rake assets:precompile
|
||||||
|
cd
|
||||||
|
bluepill start
|
||||||
|
|
Loading…
Reference in a new issue