开源会议室预约小程序+Django服务端后台
git clone https://gitee.com/007gzs/meeting.git
CREATE SCHEMA `meeting` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ;
将 server/meeting/local_settings.py.default 重命名为 server/meeting/local_settings.py 并修改其中相关信息 在server目录中执行(推荐使用虚拟python虚拟环境)
server/meeting/local_settings.py.default
server/meeting/local_settings.py
server
# 安装依赖 pip install -r requirements.txt # 初始化数据库 python manage.py makemigrations python manage.py migrate # 创建管理员用户 python manage.py createsuperuser # 启动服务 python manage.py runserver 0.0.0.0:8000
http://127.0.0.1:8000/sysadmin
可以用上面创建的管理员账号登录查看
miniprogram/utils/api.js
const server = 'http://10.100.0.7:8000'
miniprogram/project.config.json
appid
miniprogram