Skip to content

Commit 7fee736

Browse files
committed
documentation: add instructions on updating
1 parent 6257c48 commit 7fee736

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

docs/INSTALL-ubuntu.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff 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

251251
Congratulations! 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

0 commit comments

Comments
 (0)