You always wanted to learn how to quickly develop your python app in PyCharm with Flask based static content in Conda python 3.8 runtime, here is the answer to your desire. In this hands-on tutorial you will learn the following:
Create python project in PyCharm with Conda to create python 3.8 runtime
PyCharm project configuration setup with Conda based Python 3.8 runtime
Verify the run-time configuration
Install python (flask) package using Conda environment
Create app.py to use flask package to create static website
Add index.html with python application using templates
Troubleshoot flask specific problem and upgrade python flask package using pip
Run (and debug) the application and check the static website at localhost
Setup python application to use environment based PORT setting
Use different python package to read environment variable and run static web site at a different port
Video Timeline:
(00:00) Start of the video
(00:06) Intro
(00:50) Runtime Verification to have Conda and Python installed
(1:50) Creating Python project in PyCharm
(4:40) Python Runtime environment configuration in PyCharm
(6:50) Flask and other package installation in Conda within PyCharm
(8:30) Adding Flask code to Python
(9:20) Adding static content to Python project
(12:30) Testing Flask web application
(14:30) Adding environment variable based web server execution
(17:50) Recap
You can get the code used in this tutorial from the link below:
https://github.com/prodramp/publiccod...
Please visit:
https://prodramp.com
@prodramp
/ prodramp
Content Creator:
Avkash Chauhan (@avkashchauhan)
/ avkashchauhan