To get tracks working on Heroku, follow these steps:
-
clone tracks with
git clone git://github.com/TracksApp/tracks.git -
cdinto thetracksdirectory -
Do the normal setup stuff (i.e. changing
site.ymlanddatabase.ymlaccording to the installation instructions, etc.) -
Remove the line with
config/site.ymlanddatabase.ymlfrom the.gitignorefile -
create a file called
Gemfileat the project's root with the followingsource 'http://rubygems.org'
gem 'rails', '2.3.5'
gem 'RedCloth' gem 'sanitize'
-
remove the javascript
:cachedirectives inapp/views/layouts/standard.html.erbon lines 10 and 13 (commit222aef25b8). Don't forget the preceding comma! -
Create a new app on Heroku by executing this in the console:
heroku create my-app(replacemy-appwith the name of your app) -
Push your app to Heroku with
git push heroku master -
Setup your database with
heroku rake db:migratefrom your console