Skip to content

Repository files navigation

repo to learn flask-gui

learning from the the-flask-mega-tutorial

setting up the env

create virtual env

python3.7 -m venv flask_env
# connect to virtual env
source flask_env/bin/activate

installing packages

pip install -r requirements.txt
# if you have installed new packages and need to save them, you can use the following
pip freeze > requirements.txt

Running the server

# Flask needs to be told how to import it, by setting the FLASK_APP environment variable
export FLASK_APP=microblog.py
# start server
flask run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages