Skip to content

yuewei1987/geekbar_backgroud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python 3.6.4 Flask后台系统 20190811

  • 1.配置文件 config/base_setting.py

1.1 设置域名: APP

1.2 设置数据库配置 SQLALCHEMY_DATABASE_URI = 'mysql://root:123456@localhost:3306/geekbar?charset=utf8mb4'

1.3 设置程序的端口 SERVER_PORT = 8999

1.4 设置微信的 appid appkey: MINA_APP

  • 2.python 环境的所需要的库 requirements.txt

  • 3.数据库文件

  • 4.启动 python manager.py runserver

  • 5.后台登录地址:http://0.0.0.0:8999/user/login

账号密码1:admin 123456 账号密码2:sami 123456