Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Example of web application (custom blog), created by using Python 3.6 + Flask + sqlite

License

Notifications You must be signed in to change notification settings

akuing/custom-blog

Repository files navigation

Custom-blog

Example of web application (custom blog), created by using Python 3.6 + Flask microframework + sqlite
定制博客,Web应用示例,基于Python3.6 + Flask微框架 + sqlite 创建

Installation

Install the requirements package:
安装需要的软件包:

pip install -r requirements.txt

The sqlite database must be created before the application can run, and the db_create.py script takes care of that.
运行应用之前必须先创建sqlite数据库,db_create.py脚本负责这一部分。

python db_create.py

Running

To run the application in the development web server just execute run.py (debug=True) or runp.py (debug=False) with the Python interpreter from the flask virtual environment.
要运行一个用于开发的Web服务器,只要执行run.py(debug=True)就可以了 或者 runp.py(debug=False)采用的是flask虚拟环境的python解释器。

python run.py

About

Example of web application (custom blog), created by using Python 3.6 + Flask + sqlite

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 63.5%
  • HTML 35.2%
  • CSS 1.3%

AltStyle によって変換されたページ (->オリジナル) /