Skip to content

Commit f58d973

Browse files
committed
tweak bin/setup
1 parent 598a29a commit f58d973

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

bin/setup

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ FileUtils.chdir APP_ROOT do
1717
system! "gem install bundler --conservative"
1818
system("bundle check") || system!("bundle install")
1919

20+
system! "yarn install"
2021
# puts "\n== Copying sample files =="
2122
# unless File.exist?("config/database.yml")
2223
# FileUtils.cp "config/database.yml.sample", "config/database.yml"
@@ -25,9 +26,4 @@ FileUtils.chdir APP_ROOT do
2526
puts "\n== Preparing database =="
2627
system! "bin/rails db:prepare"
2728

28-
puts "\n== Removing old logs and tempfiles =="
29-
system! "bin/rails log:clear tmp:clear"
30-
31-
puts "\n== Restarting application server =="
32-
system! "bin/rails restart"
3329
end

0 commit comments

Comments
 (0)