Cheatography
https://cheatography.com
Start project
System Variables: WORKON_HOME |
location for virtualenvs |
pip install virtualenvwrapper_win |
install virtualenvwrapper utility |
mkproject <projectname> |
create virtualenv, project folder |
workon <projectname> |
activate virtualenv, change to project folder |
<virtualenv folder>\Scripts\deactivate |
exit virtualenv |
|
|
Install helper packages
activate env, install below packages using: pip install <package> |
Flask |
base package |
Flask_SQLAlchemy |
SQLite connectors |
Flask_Script |
manage package, DB |
Flask_Login |
login functions |
Flask_WTF |
WT Forms extension |
Sphinx |
documentation helper |
pytest |
test suite |
save requirements into text file using: pip freeze > requirements.txt |
|
|
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by shribee