File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -249,3 +249,20 @@ Add the following line:
249249 @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
250250
251251Congratulations! You've got Discourse installed and running!
252+
253+ ## Updating Discourse
254+
255+ # Run these commands as the discourse user
256+ bluepill stop
257+ # Pull down the latest release
258+ cd discourse
259+ git checkout master
260+ git pull
261+ git fetch --tags
262+ # To run on the latest version instead of bleeding-edge:
263+ #git checkout latest-release
264+ bundle install --deployment
265+ RUBY_GC_MALLOC_LIMIT=900000000 RAILS_ENV=production bundle exec rake db:migrate
266+ RUBY_GC_MALLOC_LIMIT=900000000 RAILS_ENV=production bundle exec rake assets:precompile
267+ cd
268+ bluepill start
You can’t perform that action at this time.
0 commit comments