Created
June 8, 2011 13:37
-
-
Save kinopyo/1014428 to your computer and use it in GitHub Desktop.
heroku cedar app rails 3.1rc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### in Terminal | |
# create rails app | |
rails new test_app | |
############ start: edit Gemfile ############## | |
#wrap sqlite3 in | |
group :test, :development do | |
gem 'sqlite3' | |
end | |
# add thin server | |
gem 'thin' | |
#add the rubyracer for heroku | |
group :production do | |
gem 'therubyracer-heroku', '0.8.1.pre3' | |
gem 'pg' | |
end | |
############ end: edit Gemfile ############## | |
### in Terminal | |
# bundle install | |
bundle | |
# git initialize | |
git init . | |
# add files | |
git commit -am "initial commit" | |
#create app on heroku | |
heroku create --stack cedar | |
# push app to heroku | |
git push heroku master | |
# test it | |
heroku open |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment