From 49f56964cebb77f6ece6d030bef69fe5a2059c48 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 21 May 2013 00:12:20 -0400 Subject: [PATCH] Further modifications to installation instructions --- docs/INSTALL-ubuntu.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/INSTALL-ubuntu.md b/docs/INSTALL-ubuntu.md index c15ff0d80f3..b71d236072c 100644 --- a/docs/INSTALL-ubuntu.md +++ b/docs/INSTALL-ubuntu.md @@ -105,13 +105,15 @@ Edit discourse/config/discourse.pill - change application name from 'your_app' to however you want to distinguish this ('discourse') - Add option to Bluepill.application: `":base_dir => ENV["HOME"] + '/.bluepill'"` -- comment out debug instance +- Should end up looking something like: `Bluepill.application("discourse", :base_dir => ENV["HOME"] + '/.bluepill') do |app|` +- comment out debug instance (from `app.process("thin-debug")` through to nearest `end`) - search for "host to run on" and change to current hostname - note: clockwork should run on only one host Edit discourse/config/initializers/secret_token.rb - uncomment secret_token line - replace SET_SECRET_HERE with secret output from 'rake secret' command in discourse directory +- delete the lines below as per instructions in the file Edit discourse/config/environments/production.rb - check settings, modify smtp settings if necessary @@ -125,6 +127,9 @@ Initialize the database: 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 + # TEMPORARY BUG WORKAROUND: + mkdir -p ~/discourse/tmp/sockets + ## nginx setup # Run these commands as your normal login (e.g. "michael")