Learn about common troubleshooting techniques to use when working with remote service providers.
- [Instructor] In our last lesson,…we took our Vapor project, and we deployed it to Heroku.…However, after it finished deploying,…and we tried to visit our project's URL,…we saw that we were returned with this error 500,…and informed that the operation cannot be completed.…So the purpose of this lesson,…is to go over how we address this particular problem.…Now, there's two things that I want to bring up over here.…First is, when you deploy to Heroku,…it changes your environment variable from…development to production, and it does this…by including what's called a prop file,…along with your regular application package,…and this particular file sets our environment variable…to be production.…
So, the reason why we want to go from production…back over to development,…is because, instead of getting general errors such as these,…in the development environment, it gives you a more verbose…error log, so that you can further troubleshoot…and see exactly where your problem is.…So, let's go ahead and modify our proc file.…
- Reviewing the concept of server-side Swift
- Installing Vapor in a local environment
- Creating a new Vapor project
- Reviewing Vapor's built-in capabilities to interact with external services
- Registering and authenticating with the Dark Sky API
- Working with Leaf templates
- Setting up a Heroku account
- Using common troubleshooting techniques
Skill Level Intermediate
Core Data for iOS and macOS Enterprise Developerswith Jon Bott1h 46m Intermediate
iOS App Development: Test-Driven Developmentwith Harrison Ferrone2h 14m Intermediate
1. Open-Source Swift and Vapor Background
2. Vapor's System Layer
3. Working with Vapor
4. View Templating
5. Deploying to Heroku
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
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.