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/
-
Notifications
You must be signed in to change notification settings - Fork 0
Choyeon/AmeBlog
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Python Flask博客 前端+后台 可投入生产环境
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published