Skip to content

Commit

Permalink
Replace nmp with yarn, remove newrelic
Browse files Browse the repository at this point in the history
  • Loading branch information
psychoslave committed May 7, 2021
1 parent 29e04dd commit a4d6e69
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions script/setup
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,14 @@ fi

# Install all dependencies
bundle check || bundle install
npm install
yarn install

# Set up configurable environment variables
if [ ! -f config/application.yml ]; then
cp config/application.yml.example config/application.yml
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
Expand Down

0 comments on commit a4d6e69

Please sign in to comment.