Skip to content

hchiam/learning-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learning-flask

Just one of the things I'm learning. https://github.com/hchiam/learning

Setup:

python3 -m venv venv
. venv/bin/activate # to use the virtual environment
pip install Flask
export FLASK_APP=hi.py
flask run
http://localhost:5000
deactivate # to close the virtual environment

After that:

And then after that, every time you want to run the site:

. venv/bin/activate
flask run
http://localhost:5000

Remember to close the venv when you're done:

deactivate

Example:

http://hchiam.pythonanywhere.com/

More examples:

About

Learning Flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published