- Move application to root directory.
$ mv represent-map/* .
$ rm -r represent-map
- Create Heroku application.
$ heroku create rails-girls-map
- Add MySQL database via ClearDB addon.
$ heroku addons:add cleardb:ignite
- Configure database to use ClearDB.
$ cp include/db_example.php include/db.php
$ vi include/db.php # setup database variables
- [Using ClearDB with PHP](https://devcenter.heroku.com/articles/cleardb#using-cleardb-with-php)
- Set LD_LIBRARY_PATH
$ heroku config:set LD_LIBRARY_PATH="/app/php/ext"
- Deploy
- Create database tables.