Modern Python Projects Transcripts
Chapter: Deployment
Lecture: Deploying Python applications

Login or purchase this course to watch this video and the rest of the course contents.
0:00 In the final chapter. I want to talk about deploying your application.
0:04 Depending on what you build, it will be easier or harder to deploy it.
0:09 Also, the meaning of deploy will be different.
0:12 If you have a python package,
0:14 all you need to do is publish it on pypi,
0:16 and people can use it. If you haven't executable application,
0:20 then you can either send it directly to someone or put it on,
0:24 GitHub or GitLab and people can grab it from there.
0:27 If it's a large file, then you can put it in Dropbox or in Amazon
0:31 s3 bucket or any other type of file hosting.
0:35 So that's also rather straight forward. Now the problem starts when you have a website.
0:41 You can't just serve websites from your computer.
0:44 Okay, technically, you can.
0:45 But what if you need to reboot your computer or if your IP changes?
0:50 And if your website gets a lot of traffic,
0:53 your computer might not have enough resources to handle it.
0:56 Not to mention the fact that you don't want people constantly hammering your computer with their
1:01 requests and waste Your computer resource is to serve a website.
1:05 No, there are better ways.
1:08 So, in the rest of this chapter,
1:09 I will talk about deploying a Web application.
1:12 I will start with comparing virtual private servers, platform as a service and container solutions.
1:18 And then I will show you how to deploy a simple website to Heroku and how
1:23 to build and deploy a docker container.