-
-
Notifications
You must be signed in to change notification settings - Fork 537
Tracks on Heroku
To get tracks working on Heroku, follow these steps:
-
clone tracks with
git clone git://github.com/TracksApp/tracks.git
-
cd
into thetracks
directory -
Do the normal setup stuff (i.e. changing
site.yml
anddatabase.yml
according to the installation instructions, etc.) -
Remove the line with
config/site.yml
anddatabase.yml
from the.gitignore
file -
create a file called
Gemfile
at the project's root with the followingsource 'http://rubygems.org'
gem 'rails', '2.3.5'
gem 'RedCloth' gem 'sanitize'
-
remove the javascript
:cache
directives inapp/views/layouts/standard.html.erb
on lines 10 and 13 (commit https://github.com/bsag/tracks/commit/222aef25b8698422a3314bd746569a60628feb9f). Don't forget the preceding comma! -
Create a new app on Heroku by executing this in the console:
heroku create my-app
(replacemy-app
with the name of your app) -
Push your app to Heroku with
git push heroku master
-
Setup your database with
heroku rake db:migrate
from your console