parent
8ed6eabdb2
commit
295a5c0112
12 changed files with 155 additions and 62 deletions
|
@ -22,6 +22,7 @@ FileUtils.chdir APP_ROOT do
|
|||
|
||||
puts "\n== Preparing database =="
|
||||
system! "bin/rails db:prepare"
|
||||
system! "bin/rails db:reset" if ARGV.include?("--reset")
|
||||
|
||||
puts "\n== Removing old logs and tempfiles =="
|
||||
system! "bin/rails log:clear tmp:clear"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue