Skip to content

Python Flask博客 前端+后台 可投入生产环境

Notifications You must be signed in to change notification settings

Choyeon/AmeBlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AmeBlog

Flask博客系统

shell
$ git clone https://github.com/Choyeon/AmeBlog.git
$ cd AmeGuestBook
# 确保安装了Python3.X
# 如果没有pipenv使用pip3 install pipenv 安装
$ pipenv install # 自动下载依赖包和创建虚拟环境 
$ pipenv shell # 切换到虚拟环境
$ flask init # 初始化
$ flask initdb # 初始化数据库 
$ flask forge # 生成虚拟数据 
$ flask run # 直接运行Flask服务器即可查看效果 内置了本地的SQLite数据库不需要配置
* Running on http://127.0.0.1:5000/

效果图:

1

2

3

4

5

6

About

Python Flask博客 前端+后台 可投入生产环境

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages