Chapter 9. Deploying to Production

You have built a great project: it is modularized, has tests, has been automatized to do common tasks, and finally you have built a production version with Gulp; however, now how do you deploy to a production server?

This chapter examines what to do with the production version of your project. Here, you will see how to run your node server and frontend assets in a production environment.

There are many choices to run your project in production mode; you can deploy on a bare metal server, use a virtual machine, on a shared host such as DigitalOcean or RackSpace, or maybe just deploy it to a PaaS (Platform as a service) service such as Heroku.

In the following section, we will see how to deploy to an Heroku instance, ...

Get Mastering Backbone.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.