A place to breathe

Wednesday, September 10, 2014

Development cycle for Middleman and Heroku

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:

About Me

I'm currently a software engineer. My specific interest is games and networking. I'm running software company called Nusantara Software.