Commit 58933fe5 authored by HQ's avatar HQ
Browse files

Various improvements

parent ec97ac8f
......@@ -48,8 +48,8 @@ unless (-e '/etc/discourse.seeded') {
`perl -pi -e 's/Uglifier\.new.comments: :none,.*/Uglifier.new(comments: :none, harmony: true,/' /var/discourse/lib/tasks/assets.rake`;
`echo "require 'uglifier'" >> /var/discourse/Gemfile`;
print `cd /var/discourse ; RAILS_ENV=production bundle exec rake db:migrate`;
print `cd /var/discourse ; RAILS_ENV=production bundle exec rake assets:precompile`;
print `cd /var/discourse ; RAILS_ENV=production bundle exec rake db:migrate >> /tmp/discourse.out 2>&1`;
print `cd /var/discourse ; RAILS_ENV=production bundle exec rake assets:precompile >> /tmp/discourse.out 2>&1`;
my $me_json = `curl -k --silent https://$gw/stabile/users/me`;
my $me_ref = from_json($me_json);
......
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