#Using this Ruby Backend to Send Push Notifications
- Go to the Google developer console https://console.developers.google.com/project
- Create a new project (big blue button at the top of the page)
- In left side menu, click on 'APIs'
- Scroll to 'Google Cloud Messaging for Android' and click
- Turn 'Google Cloud Messaging for Android' on
- In the left side menu, click 'Credentials'
- Choose 'server key'
- It's okay to leave the IP address section empty. Click 'create'
- Enter the newly created API key in config.ru where it says 'your-api-key'
- To run locally, run 'rackup config.ru' from the command line
- To host on heroku, follow the instructions here: https://devcenter.heroku.com/articles/rack#pure-rack-apps
If you're using this with android-messaging-push-tutorial, you can't host locally!