Just a few key steps for development cycle:
1. SSH to your VM:
cd /your/vagrant/vm
vagrant ssh
2. Develop in "source" directory
cd /yourapp/source
Edit index.html.erb, CSS, javascripts, etc.
3. Preview your changes locally
middleman build
middleman server -p 3000
4. Add your changes to git and commit to heroku
git add .
git commit -m "my awesome changes"
git push heroku master.
5. Rejoice and watch HBO !
No comments:
Post a Comment