git init
git add .
git commit -m "Initial commit"
git remote add origin https://github.com/thedobriy/my_cat_1.git
git push -u origin master
heroku create
git push heroku master
heroku run rake db:migrate
git co -b static-pages - создание ветки
rails g controller StaticPages --no-test-framework
git add .
git commit -m "Finish static pages"
git co master
git merge static-pages
git push
git push heroku
heroku run rake db:migrate
Комментариев нет:
Отправить комментарий