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.
- Command prompt
- Create directory “mkdir name”
- Open directory “cd name”
- Create virtual environment “python -m venv venv”
- Open virtual environment “venv\Scripts\activate”
- Install necessary modules using pip install
- “pip install flask”
- “pip install python-dotenv”
- “pip install pyopenssl” (only needed if testing will
be done using SSL)
- Create app folder
- Open app folder
- Create template folder
- Open template folder
- Visual Studio Code
- Create flaskenv file
- Create routes file
- Create templates