The last couple of days I have enjoyed the speed and easy-going-flow that Node, KoaJs and Herkou gives me. It's truly blows me away and I have been tweeting stuff like:
I had to look into the "scary" domain of Makefiles. Untravelled territory for me. I thought it was scary but it was just a bit weird and I actually got something nice to work.
This post described what I did - and how I redeemed my statement to Woody so that deploying to production is in fact one command (about 25 seconds).
Once @heroku tool belt is set up the first time deployment is SILLY simple. I’m talking 20 seconds, including #mongodb provisioning #amazed
— Marcus Hammarberg (@marcusoftnet) June 18, 2014
and
Again: From idea (we should put this into prod now) to complete: 25 min. #koaJs #heroku #nodejs Like last time: http://t.co/GSvpuV4xsA
— Marcus Hammarberg (@marcusoftnet) June 18, 2014
But... In one regard I have lied. I told Woody Zuill (friend and role model) that I could push to production with a single command. While that was true the command (git push heroku master) did just that. Push to Heroku. But I wanted it to test my code, version it, push to GitHub and then push to Heroku. You know - all the continuous delivery stuff.I had to look into the "scary" domain of Makefiles. Untravelled territory for me. I thought it was scary but it was just a bit weird and I actually got something nice to work.
This post described what I did - and how I redeemed my statement to Woody so that deploying to production is in fact one command (about 25 seconds).