在heroku上托管rails项目

1. sudo gem install heroku
2. heroku create myapp
  http://myapp.heroku.com/ | [email protected]:myapp.git
3. rails myapp -d mysql
  git init
  git add .
  git commit -am 'initial import'
4. git remote add heroku [email protected]:myapp.git
   git push heroku master
5. heroku rake db:migrate
6. heroku open
7. that's it

8. more about on http://heroku.com

你可能感兴趣的:(mysql,git,Rails)