一个非常简单的留言板程序。

SayHello

Say hello to the world.

Example application for Python Web Development with Flask (《Flask Web 开发实战》).

Demo: http://sayhello.helloflask.com

Installation

clone:

$ git clone https://github.com/greyli/sayhello.git $ cd sayhello

create & activate virtual env then install dependency:

with venv/virtualenv + pip:

$ 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 with Pipenv:

$ pipenv install --dev $ pipenv shell

generate fake data then run:

$ flask forge $ flask run * Running on http://127.0.0.1:5000/ License

This project is licensed under the MIT License (see the LICENSE file for details).

版权声明:

1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。
2、网站不提供资料下载,如需下载请到原作者页面进行下载。