Commit 97c56feb authored by HQ's avatar HQ
Browse files

Various improvements

parent cc1bad18
......@@ -46,7 +46,7 @@ unless (-e '/etc/discourse.seeded') {
`perl -pi -e 's/config\.assets\.js_compressor = :uglifier/config.assets.js_compressor = => true)/' /var/discourse/config/environments/production.rb`;
`perl -pi -e 's/Uglifier\.new.comments: :none,.*/ :none, :harmony => true,/' /var/discourse/lib/tasks/assets.rake`;
`perl -pi -e 's/Uglifier\.new./ => true)./' /var/discourse/lib/tasks/javascript.rake`;
`perl -pi -e 's/Uglifier\.new\./ => true)./' /var/discourse/lib/tasks/javascript.rake`;
`echo "require 'uglifier'" >> /var/discourse/Gemfile`;
print `cd /var/discourse ; RAILS_ENV=production bundle exec rake db:migrate >> /tmp/discourse.out 2>&1`;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment