Heroku Basics - Steps to deploy your Node.js app with Heroku

preview_player
Показать описание
Straight to the point, example for creating a basic NodeJS server and steps to deploying it to Heroku, based on official documentation

References:

Prerequisites:
• Nodejs, NPM and Heroku CLI installed
• Make sure you have those 3 added to your environmental paths on your machine
• Heroku account
• NodeJS app
• Git repository

Steps to deployment:
• Open your app in IDE of choice
• Login to Heroku using the Heroku CLI in your terminal (run `heroku login`)
• Create an app in Heroku using the Heroku CLI (run `heroku create`)
• Commit your changes (optional if you already have commits registered on branch)
• Push your changes to the Heroku git repo - (run `git push heroku name_of_your_current_branch`)
• Your app should be deployed now, login to your account in Heroku and access the app

Video Chapters
0:00 Introduction
0:21 Prerequisites
1:07 Create a Basic Nodejs server app
3:40 Deploy app to Heroku
7:05 Redeploy updates to Heroku

#node #nodejs #heroku #deployment #cicd #nodejsforbeginners #herokuforbeginners
Рекомендации по теме