mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-25 05:45:15 +00:00
Fail setup script when nodenv is missing
This commit is contained in:
@@ -21,8 +21,8 @@ FileUtils.chdir APP_ROOT do
|
||||
system("bundle check 2> /dev/null") || system!(BUNDLE_ENV, "bundle install")
|
||||
|
||||
# Install JavaScript dependencies
|
||||
system("script/nodenv-install.sh")
|
||||
system("bin/yarn")
|
||||
system!("script/nodenv-install.sh")
|
||||
system!("bin/yarn")
|
||||
|
||||
# puts "\n== Copying sample files =="
|
||||
# unless File.exist?("config/database.yml")
|
||||
|
||||
Reference in New Issue
Block a user