Back to SSL Part 3: Python

QuickCreate Checklist for Flask

Here’s a quick checklist template so that when you create your own flask server you don’t miss any steps. This doesn’t have any explanation, so if you use this without doing the tutorial first there’s a good chance you will have something working at the end but without a good understanding.

  1. Command prompt
    1. Create directory “mkdir name”
    2. Open directory “cd name”
    3. Create virtual environment “python -m venv venv”
    4. Open virtual environment “venv\Scripts\activate”
    5. Install necessary modules using pip install
      1. “pip install flask”
      2. “pip install python-dotenv”
      3. “pip install pyopenssl” (only needed if testing will be done using SSL)
    6. Create app folder
    7. Open app folder
    8. Create template folder
    9. Open template folder
  2. Visual Studio Code
    1. Create flaskenv file
    2. Create routes file
    3. Create templates
Back to SSL Return to top Part 3: Python