First application to learn flask and feel less rusted about python programming.
- Install flask
- Export the name of your app using
export FLASK_APP=flaskyelp
- Run flask for initializing your database
python -m flask initdb
If you have a tricky python environment, you can use virtualenv to install all the necessary dependencies.
virtualenv venv
. ./venv/bin/activate
pip install flask
python -m flask initdb
python -m flask run
- Install flask (for example
apt-get install python-flask
) - Export the name of your app using
export FLASK_APP=flaskyelp
- Run flask for your app
flask run
orpython -m flask run
python setup.py test
E-mail at julien@gunnnm.org - git push request greatly appreciated!
- Flask: http://flask.pocoo.org