Join Troy Miles for an in-depth discussion in this video Running WebSocket on Heroku, part of Web Servers and APIs using C++.
- [Instructor] Let's deploy our web server to Heroku again…so we can check everything out in the cloud.…So first thing I'm gonna do is go ahead and do a Control-C…to stop the server running on my own docker container.…I am going to do a clear screen.…And I'm gonna go ahead and build it one more time…even though I just did so.…Again, just cause I like to be sure.…With the app built, let's go ahead and do a heroku login.…
And I'm gonna go ahead and just clear this screen…and do heroku login…and it's gonna ask for my password…and my two-factor authentication code.…Now, next I do a heroku container:login…and normally this does not prompt me for anything…if I'm already logged in.…Alright, so my login succeeded…and I noticed that there is a Heroku update…but I'm gonna skip that for now.…
And next, I'm gonna do a…heroku container:push web -a…For this command and for the next two after it,…remember to replace the name of my app,…which is infinite-falls-24876,…with the name of your app.…So I do a…- a infinite-falls-24876.…
- Working with Crow, the C++ micro web framework
- Deploying containers to Heroku
- Building websites and webpages
- Accessing data from a database
- Accessing data via RESTful APIs
- Creating API endpoints
- Running WebSockets on Heroku
Skill Level Intermediate
1. Installing Our Tools
2. Deploying to Heroku
Installing the Heroku CLI1m 17s
3. Building Websites
4. Data Access
5. RESTful APIs
6. WebSockets and Crow
- 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.