Skip to content

Commit

Permalink
Add settings up Jetty to bin/setup
Browse files Browse the repository at this point in the history
At first, I followed suit and used bin/rake, but there was environment problems
that were solved by using bundle exec for both tasks.
  • Loading branch information
Spaceghost committed Jun 29, 2015
1 parent c61a793 commit a073424
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/setup
Expand Up @@ -20,6 +20,9 @@ Dir.chdir APP_ROOT do
puts "\n== Preparing database =="
system "bin/rake db:setup"

puts "\n== Setting up Jetty =="
system "bundle exec rake jetty:clean && bundle exec rake jetty:config"

puts "\n== Removing old logs and tempfiles =="
system "rm -f log/*"
system "rm -rf tmp/cache"
Expand Down

0 comments on commit a073424

Please sign in to comment.