Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.97 KB

README.md

File metadata and controls

44 lines (32 loc) · 1.97 KB

newrelic-ruby-kata

Using New Relic and Heroku, see how many things you can find and fix to make this app perform fast!

Step 1

Get the code. The code is waiting to be forked on Github

Step 2

Load the sample DB locally:

bundle exec rake db:create
pg_restore --verbose --clean --no-acl --no-owner -h localhost -U $USER -d newrelic-ruby-kata_development public/sample-data.dump
bundle exec rails s

Step 3

Deploy your app to Heroku, and load the database:

First,

Deploy

Then, you can load the sample data via:

heroku addons:create heroku-postgresql:hobby-dev
heroku addons:create memcachier
heroku config:set NEW_RELIC_APP_NAME=<NAME>
heroku pg:credentials DATABASE_URL
pg_restore --verbose --clean --no-acl --no-owner -h <HOSTNAME> -U <USER> -d <DATABASE> -p <PORT> --password public/sample-data.dump

Step 4

You can watch a video on getting started with the New Relic agent to help get you started. The New Relic agent will help you find and solve the performance issues in this application as well as help you see the complete impact of your changes.

Step 5

Fix the code / Solve as many of the Katas as you can. There are seven distinct Katas in this application that can be torn apart and fixed by using your awesome dev abilities and the deep metrics that New Relic provides.

Step 6

Let us know how you did, what you liked or disliked, what helped you find problems or what were the challenges, what you like about New Relic and what you don't - we just want to hear from you and see what we can do to get better. We'll even send you something for demonstrating your geek super powers when you complete the Kata - just provide us with your thoughts and a link to your forked repo.