un-rust my python skills with a small self-assigned honework
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
flaskyelp
tests
.gitignore
MANIFEST.in
README.md
setup.cfg
setup.py

README.md

flaskyelp

First application to learn flask and feel less rusted about python programming.

Configure!

  1. Install flask
  2. Export the name of your app using export FLASK_APP=flaskyelp
  3. 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

Run it!

  1. Install flask (for example apt-get install python-flask)
  2. Export the name of your app using export FLASK_APP=flaskyelp
  3. Run flask for your app flask run or python -m flask run

Test it!

python setup.py test

Debug & Feedback

E-mail at julien@gunnnm.org - git push request greatly appreciated!

References