After a bit of searching around, I found out about a service called AppFog. AppFog is a "Platform as a Service" or PaaS provider, which basically means that, like Azure, they take out all the hassle of deploying code to "The Cloud". The way it works is simple, you sign up for an account, and create an app by choosing from a template (Node app, etc) and a hosting provider (AWS, etc). Behind the scenes, AppFog will provision the host and deploy the template code and in minutes you'll have a skeleton website ready to go. And best of all there is a generous free tier.
Once set up, all you need to do is download the template source code from the AppFog console, overwrite it with the code that we've been using in Azure, update the environment variables again using the console, then upload the code using a few simple commands:
gem install af af login af update [sitename]
There isn't the nice git integration and ability to view and rollback deployments like in Azure, but it does allow long-running processes, and it seems to be a bit easier to use and much more adaptable than Azure.
And I'll leave this series of posts at that, hopefully someone has learned something from all this and decides to give TypeScript Node.js development a go, it's been fun!
Previously: TypeScript Node.js Development Part 5 - Unit Tests and Debugging.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.