Lesson 7
Screen 1 of 10
1) Components of a Web application
2) Web frameworks and Flask
3) Installing Python and packages
4) Creating your development environment
5) Building your first local Flask app
6) Running your first Flask app
7) Web application deployment
8) Deploying to PythonAnywhere
Lesson 7
Screen 2 of 10
Lesson 7
Screen 3 of 10
A developed and tested Web application can be made available to its end-users.
Web Application Deployment is the process of migrating a Web application from its development environment to its production environment. A production environment hosts and runs the Web application, so that end-users can access the Web application (Microsoft 2006).
Lesson 7
Screen 4 of 10
Common reasons for deploying Web applications include:
Lesson 7
Screen 5 of 10
There are many ways to host a production environment. Four popular approaches are:
Lesson 7
Screen 6 of 10
Complete the following short quiz to test your knowledge of Web application deployment and hosting.
Lesson 7
Screen 7 of 10
You completed Lesson 7 on Web application deployment successfully. You can now:
Lesson 7
Screen 8 of 10
In Lesson 8 you will apply what you learned about Web application deployment, by deploying your Flask Web application to the PythonAnywhere PaaS provider.
After you have reviewed the useful resources on the next screen, proceed to Lesson 8.
Lesson 7
Screen 9 of 10
Lesson 7
Screen 10 of 10
The section on Web application deployment in Matt Makai’s e-book, Full stack Python (2018), provides a useful overview of different types of deployment. The book section also contains links to online resources related to deployment.
Kenneth Reitz and Tanya Schlusser’s book, The Hitchhiker’s Guide to Python (2016a), offers useful descriptions of various PaaS and Web hosting service providers. An e-book version (2016b) is available online.