code-for-nashville/flushots2013 — pull request #1 by jchapin (2014-09-02 22:33:09+00:00)
Title: Getting the application to deploy to heroku

Not a lot needed to change in order to get this up and running.

1. The keys for the Google Maps API and the ID of the Fusion Tables Document needed to change.
2. I moved the contents of htdocs out into the root of the project and added an empty composer.json for Heroku deployment.
3. The JavaScript is all concatenated together and minified in order to go into production deployment, in the meantime we're loading the assets individually.

http://nashville-flu-shots.herokuapp.com

![screen shot 2014-09-02 at 5 21 59 pm](https://cloud.githubusercontent.com/assets/116142/4126781/9bd8372e-32ef-11e4-8c65-c8d70832d592.png)

The app is breathing... But there is a lot of Chicago -> Nashville conversion that needs to take place. If I try and run directions right now, it wants to place me at Harding Pike in Chicago.

Another thing to note, most of the troubleshooting had little to do with whether I was using the right API key or not, but whether the API was accessible to the assigned key from the Google API console... Also, the public accessibility of the Google Fusion Table is a very important setting.