Learning flask through building projects
Flask is a web app framework written in Python. Web framework represents a collection of libraries and modules for developing webs without worrying about low-level details such as protocols, thread management etc.
pip install virtualenv
cd proj-repo
virtualenv venv
. venv/bin/activate #activate environment
pip install Flask. #install Flask for proj-repo env
1. blog-app
shutdown virtualenv: deactivate
To freeze current environment: pip freeze > requirements.txt
install all packages pip install -r requirements.txt
find heroku app name heroku info -s | grep web_url | cut -d= -f2
find jobs running python ps -fA | grep python
with python3, to start virtualenv python -m venv myvenv