Add yarn dependency installation to bin/update
This commit is contained in:
parent
7fff630554
commit
90cbf042c3
1 changed files with 4 additions and 1 deletions
|
@ -16,10 +16,13 @@ chdir APP_ROOT do
|
|||
# This script is a way to update your development environment automatically.
|
||||
# Add necessary update steps to this file.
|
||||
|
||||
puts '== Installing dependencies =='
|
||||
puts '== Installing dependencies (Ruby) =='
|
||||
system! 'gem install bundler --conservative'
|
||||
system('bundle check') || system!('bundle install')
|
||||
|
||||
puts "\n== Installing dependencies (JS) =="
|
||||
system!('yarn -s')
|
||||
|
||||
puts "\n== Updating database =="
|
||||
system! 'bin/rails db:migrate'
|
||||
|
||||
|
|
Loading…
Reference in a new issue