Skip to content

Commit

Permalink
Add yarn install to bin/setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
forsbergplustwo committed Sep 27, 2023
1 parent c217d8e commit 842020e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ FileUtils.chdir APP_ROOT do
# This script is idempotent, so that you can run it at any time and get an expectable outcome.
# Add necessary setup steps to this file.

puts "== Installing dependencies =="
puts "== Installing bundle dependencies =="
system! "gem install bundler --conservative"
system("bundle check") || system!("bundle install")

puts "== Installing yarn dependencies =="
system!("yarn install")

# puts "\n== Copying sample files =="
# unless File.exist?("config/database.yml")
# FileUtils.cp "config/database.yml.sample", "config/database.yml"
Expand Down

0 comments on commit 842020e

Please sign in to comment.