mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
Created Tracks on Heroku (markdown)
parent
2bb92845e7
commit
ce1280cd7a
1 changed files with 19 additions and 0 deletions
19
Tracks-on-Heroku.md
Normal file
19
Tracks-on-Heroku.md
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
To get tracks working on Heroku, follow these steps:
|
||||||
|
|
||||||
|
1. clone tracks with `git clone git://github.com/bsag/tracks.git`
|
||||||
|
2. `cd` into the `tracks` directory
|
||||||
|
3. Do the normal setup stuff (i.e. changing `site.yml` and `database.yml` according to the installation instructions, etc.)
|
||||||
|
4. Remove the line with `config/site.yml` and `database.yml` from the `.gitignore` file
|
||||||
|
3. create a file called `Gemfile` at the project's root with the following
|
||||||
|
|
||||||
|
source 'http://rubygems.org'
|
||||||
|
|
||||||
|
gem 'rails', '2.3.5'
|
||||||
|
|
||||||
|
gem 'RedCloth'
|
||||||
|
gem 'sanitize'
|
||||||
|
|
||||||
|
4. remove the javascript `:cache` directives in `app/views/layouts/standard.html.erb` on lines 10 and 13 (commit https://github.com/bsag/tracks/commit/222aef25b8698422a3314bd746569a60628feb9f). Don't forget the preceding comma!
|
||||||
|
5. Create a new app on Heroku by executing this in the console: `heroku create my-app` (replace `my-app` with the name of your app)
|
||||||
|
6. Push your app to Heroku with `git push heroku master`
|
||||||
|
7. Setup your database with `heroku rake db:migrate` from your console
|
||||||
Loading…
Add table
Add a link
Reference in a new issue