rails 8.0.2 to 8.1. lograte for logging.
This commit is contained in:
parent
4e0858ccbe
commit
9236af0712
20 changed files with 536 additions and 321 deletions
|
|
@ -15,9 +15,6 @@ FileUtils.chdir APP_ROOT do
|
|||
puts "== Installing dependencies =="
|
||||
system("bundle check") || system!("bundle install")
|
||||
|
||||
# Install JavaScript dependencies
|
||||
system("yarn install --check-files")
|
||||
|
||||
# puts "\n== Copying sample files =="
|
||||
# unless File.exist?("config/database.yml")
|
||||
# FileUtils.cp "config/database.yml.sample", "config/database.yml"
|
||||
|
|
@ -25,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