Windows
git clone https://github.com/Dev-Elie/User-Authentication-in-Flask.git
cd User-Authentication-in-Flask
py -3 -m venv venv
macOS/Linux
git clone https://github.com/Dev-Elie/User-Authentication-in-Flask.git
cd User-Authentication-in-Flask
python3 -m venv venv
2 .Activate the environment
Windows
venv\Scripts\activate
macOS/Linux
. venv/bin/activate
or
source venv/bin/activate
Applies for windows/macOS/Linux
pip install -r requirements.txt
python app.py
Create a directory with a name "Flask-Docker-App"
Navigate to the newly created directory
cd Flask-Docker-App
Create a virtual environment
Windows
py -3 -m venv venv
macOS/Linux
python3 -m venv venv
2 .Activate the environment
Windows
venv\Scripts\activate
macOS/Linux
. venv/bin/activate
or
source venv/bin/activate
pip install Flask
Create two files;app.py and Dockerfile
touch app.py Dockerfile