11. Overview of Project Deployment Using Heroku

             For the this week we will set environment variables whole project. The process core module of Node.js provides the env property which hosts all the environment variables that were set at the moment the process was started.

         Then deployment of our project, Deployment like Represents the software you are deploying (such as a web application), the releases of the software deployed and the environments that they will be deployed to throughout the lifecycle.

     We uploaded everything to git after completion of project. Then  finished all work of our internship project.

Deploying to Production with Git

Our first method is not only the most common, but also the simplest: pushing code from a Git repository to a Heroku app. You simply add your Heroku app as a remote to an existing Git repository, then use git push to send your code to Heroku. Heroku then automatically builds your application and creates a new release.

Because this method requires a developer with full access to manually push code to production, it's better suited for pre-production deployments or for projects with small, trusted teams.

Pros:

Cons:

  • Requires access to both the Git repository and Heroku app


Comments

Popular posts from this blog

10. Debugging in Visual Studio Code

6. How to setup a local MongoDB Connection