O'Reilly logo

Mastering JavaScript Single Page Application Development by John Moore, Philip Klauzinski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying the application to Heroku

Now, we have most of the pieces in place for web deployment. We will deploy our app to Heroku, a PaaS that supports Node.

Getting ready to use Heroku

There are just a few steps that are required to deploy your application to Heroku. You'll have to install Git, set up a Heroku account, create a new project on Heroku, and then it will be ready for deploying.

Setting up Git

Deployment to Heroku is done using Git, so you will need to have it installed. If you don't already have Git installed, go to https://git-scm.com/book/en/v2/Getting-Started-Installing-Git and follow the instructions for your operating system.

After you have Git installed, you need to initialize a Gitrepository in your giftapp folder. From the root, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required