Capture and share every wonderful moment.
Example application for Python Web Development with Flask (《Flask Web 开发实战》).
Demo: http://albumy.helloflask.com
clone:
$ git clone #YOUR_FORKED_REPO
$ cd #FORKED_DIR_NAME
create & activate virtual env then install dependency:
with venv/virtualenv + pip:
# hint: you can find your python versiopipn with the command: $ python --version
$ python -m venv env # use `virtualenv env` for Python2, use `python3 ...` for Python3 on Linux & macOS
$ source env/bin/activate # use `env\Scripts\activate` on Windows
$ pip install -r requirements.txt # OR pip3 install -r requirements.txt
or with Pipenv: (do this only if you tried venv/virtualenv + pip and it did not work)
$ pipenv install --dev
$ pipenv shell
generate fake data then run:
$ flask forge
$ flask run
* Running on http://127.0.0.1:5000/
Test account:
- email:
[email protected]
- password:
helloflask
This project is licensed under the MIT License (see the LICENSE file for details).