-Make Project Directory: mkdir MyFlaskApp

-Navigate to Your Directory: cd C:\Users\Box Hot\Documents\Flask\MyFlaskApp

-Create a Virtual Environment: python -m venv venv

-Activate the Virtual Environment: .\venv\Scripts\activate





-Create the Basic Project Structure:

mkdir static templates
echo # Flask App > app.py
echo # Requirements > requirements.txt


For Development, Set Environment Variables:
set FLASK_ENV=development
set FLASK_APP=app.py

For Production, Set Environment Variables:
set FLASK_ENV=production
set FLASK_APP=app.py

-Run the Application: flask run


-Deactivate When Done: deactivate



Reproducibility: Using a requirements.txt file, 
you can recreate the same environment anywhere.

pip freeze > requirements.txt
pip install -r requirements.txt