mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Replace nmp with yarn, remove newrelic
This commit is contained in:
@@ -32,7 +32,7 @@ fi
|
||||
|
||||
# Install all dependencies
|
||||
bundle check || bundle install
|
||||
npm install
|
||||
yarn install
|
||||
|
||||
# Set up configurable environment variables
|
||||
if [ ! -f config/application.yml ]; then
|
||||
@@ -40,12 +40,6 @@ if [ ! -f config/application.yml ]; then
|
||||
printf "${YELLOW}Copied config/application.yml Make sure to fill it with the appropriate configuration values.\n\n${NO_COLOR}"
|
||||
fi
|
||||
|
||||
# Set up newrelic.yml for development environment, used by the newrelic_rpm gem
|
||||
if [ ! -f config/newrelic.yml ]; then
|
||||
cp config/newrelic.yml.example config/newrelic.yml
|
||||
printf "${YELLOW}Copied config/newrelic.yml which configures the development environment for the newrelic_rpm gem.\n\n${NO_COLOR}"
|
||||
fi
|
||||
|
||||
# Set up the database for both development and test
|
||||
# Confirming the default user and password
|
||||
printf '\n\n' | bundle exec rake db:setup db:test:prepare
|
||||
|
||||
Reference in New Issue
Block a user