forked from newrelic/newrelic-ruby-kata
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request newrelic#7 from tkrajcar/heroku-deploy-button
Add Heroku deploy button and update instructions.
- Loading branch information
Showing
3 changed files
with
45 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,39 @@ | ||
newrelic-ruby-kata | ||
================== | ||
|
||
Using New Relic and Heroku see how many things you can find and fix to make this app perform fast! | ||
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](https://github.com/newrelic/newrelic-ruby-kata) | ||
Get the code. The code is waiting to be forked on [Github](https://github.com/newrelic/newrelic-ruby-kata) | ||
|
||
Step 2 | ||
------- | ||
Load the sample DB locally: | ||
|
||
rake db:create | ||
pg_restore --verbose --clean --no-acl --no-owner -h localhost -U $USER -d newrelic-ruby-kata_development public/sample-data.dump` | ||
pg_restore --verbose --clean --no-acl --no-owner -h localhost -U $USER -d newrelic-ruby-kata_development public/sample-data.dump | ||
|
||
Step 2 | ||
Step 3 | ||
------- | ||
Deploy your app to Heroku and load the database there | ||
Deploy your app to Heroku, and load the database: | ||
|
||
heroku apps:create | ||
heroku addons:add pgbackups:plus newrelic:stark memcachier | ||
heroku pgbackups:restore DATABASE 'http://newrelic-ruby-kata.herokuapp.com/sample-data.dump' | ||
First, | ||
|
||
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy) | ||
|
||
Step 3 | ||
Then, you can load the sample data via: | ||
|
||
heroku pgbackups:restore DATABASE 'http://newrelic-ruby-kata.herokuapp.com/sample-data.dump' | ||
|
||
Step 4 | ||
------- | ||
You can watch a [video on getting started](http://newrelic.com/resources/training) 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 4 | ||
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 5 | ||
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](https://support.newrelic.com/home). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "New Relic Ruby Kata", | ||
"description": "Using New Relic and Heroku, see how many things you can find and fix to make this app perform fast!", | ||
"repository": "https://github.com/newrelic/newrelic-ruby-kata", | ||
"website": "http://newrelic-ruby-kata.herokuapp.com/", | ||
"logo": "http://storefront.nr-assets.net/assets/newrelic/source/NewRelic-logo-square.png", | ||
"success_url": "/", | ||
"addons": [ | ||
"pgbackups:plus", | ||
"newrelic:stark", | ||
"memcachier" | ||
], | ||
"keywords": [ | ||
"new relic", | ||
"rails", | ||
"kata" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters