Create multiple Heroku targets for each environment. Use 'qa' 'staging' and 'production'. Learn about Git configuration of each target environment.
- [Instructor] Now, we can create a second application…for our staging environment,…so heroku create --remote staging.…Note that I'm in the Exercise Files directory here,…and it'll create a second app,…so now we have two applications coming…from this same directory, and infinite-everglades is…what my staging environment is.…So let's go ahead and deploy the application to staging…and see what happens, so git push staging master.…
Okay, looks like that built correctly,…so let's copy and paste to open the application.…Well, that's weird.…It's got the build environment of staging.…That's good.…It means it built the files correctly,…but there's no app data here.…There must be something wrong.…So we could check the logs in the dashboard,…but there's also a command line version,…so let's take a look at that.…So back to the terminal window,…heroku logs --remote staging.…
All right, let's scroll up and take a look…at what we've got here.…Well, it's a Mongo error, so clearly the problem is…that we're trying to connect to the Mongo database,…
- MongoDB and GitHub setup
- Creating a Heroku app
- Deployment using Elastic Beanstalk
- Azure host creation and environment configuration
- Continuous deployment tools
- Working with Jenkins, Travis CI, and CircleCI
Skill Level Intermediate
Node.js: Build Your First Microservice (2016)with Daniel Khan2h 9m Intermediate
Building RESTful Web APIs with Node.js and Expresswith Emmanuel Henri1h 40m Intermediate
1. Setting Up Your Application
3. AWS Elastic Beanstalk
5. Continuous Deployment
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.