Skip to content

greyli/greybook

Repository files navigation

Greybook

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

Demo: http://greybook.helloflask.com

Screenshot

Installation

Clone the repo:

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

Create & activate virtual env then install dependency:

with venv + pip:

$ python3 -m venv .venv  # use `python ...` on Windows
$ source .venv/bin/activate  # use `.venv\Scripts\activate` on Windows
$ pip install -r requirements.txt

or with PDM (you need to install PDM first):

$ pdm install
$ source .venv/bin/activate  # use `.venv\Scripts\activate` on Windows

Generate fake data then run the application:

$ flask fake
$ flask run
* Running on http://127.0.0.1:5000/

Test account:

  • username: admin
  • password: greybook

License

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

About

Bluelog (2018) -> Greybook (2024)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published