...

/

Deploy the Application

Deploy the Application

Learn how to successfully deploy your web application on the internet.

Deploying an application to Heroku

We now only need to deploy the application and tell it to use a dyno. To deploy it, we use git to add and commit our latest changes. The new configuration files and Procfile should also be added. Once this is done, we push a copy to Heroku:

$ git push heroku master
Enumerating objects: 35, done.
Counting objects: 100% (35/35), done.
Delta compression using up to 4 threads
Compressing objects: 100% (23/23), done.
Writing objects: 100% (23/23), 156.18 KiB | 3.72 MiB/s, done.
Total 23 (delta 8), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> nginx-buildpack app detected
remote: -----> nginx-buildpack: Installed nginx/1.16.1 to app/bin
remote: -----> nginx-buildpack: Added start-nginx to app/bin
remote: -----> nginx-buildpack: Added start-nginx-solo to app/bin
remote:
...