practice of CircleCI: develop Flaskr app. using CircleCI
- https://github.com/pallets/flask/tree/master/examples/flaskr
- https://circleci.com/docs/2.0/project-walkthrough/
- Let the user sign in and out with credentials specified in the configuration. Only one user is supported.
- When the user is logged in, they can add new entries to the page consisting of a text-only title and some HTML for the text. This HTML is not sanitized because we trust the user here.
- The index page shows all entries so far in reverse chronological order (newest on top) and the user can add new ones from there if logged in.
$ cd circle_ci_test
$ pip install --editable .
$ export FLASK_APP=flaskr.flaskr
$ export FLASK_DEBUG=true
$ flask initdb
$ flask run
$ python setup.py test