mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Update script/setup to create default newrelic.yml
This commit is contained in:
@@ -46,6 +46,12 @@ 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 Spree prompts
|
||||
printf '\n\n' | bundle exec rake db:setup db:test:prepare
|
||||
|
||||
Reference in New Issue
Block a user