Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/007gzs/meeting
开源会议室预约小程序+Django服务端后台
https://github.com/007gzs/meeting
django django-cool meeting wechat-mini-program
Last synced: 5 days ago
JSON representation
开源会议室预约小程序+Django服务端后台
- Host: GitHub
- URL: https://github.com/007gzs/meeting
- Owner: 007gzs
- License: gpl-3.0
- Created: 2019-07-02T09:14:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-06T10:29:02.000Z (4 months ago)
- Last Synced: 2024-12-15T08:02:23.294Z (12 days ago)
- Topics: django, django-cool, meeting, wechat-mini-program
- Language: Python
- Homepage:
- Size: 1.02 MB
- Stars: 342
- Watchers: 7
- Forks: 114
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 开源会议室
开源会议室预约小程序+Django服务端后台
## 扫码体验
![开源会议室](https://raw.githubusercontent.com/007gzs/meeting/master/resource/room_demo.jpg "开源会议室")
## 安装方式
本项目在以下代码托管网站同步更新:
* 码云:https://gitee.com/007gzs/meeting
* GitHub:https://github.com/007gzs/meeting### 获取代码
git clone https://github.com/007gzs/meeting.git
### 服务端配置
服务端使用[Django](https://github.com/django/django) + [django-rest-framework](https://github.com/encode/django-rest-framework) + [django-cool](https://github.com/007gzs/django-cool) 框架开发
#### 创建数据库
CREATE SCHEMA `meeting` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ;
#### 初始化数据
将 `server/meeting/local_settings.py.default` 重命名为 `server/meeting/local_settings.py` 并修改其中相关信息
在`server`目录中执行(推荐使用虚拟python虚拟环境)# 安装依赖
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'` 修改为本机内网IP
+ 将`miniprogram/project.config.json`中`appid`修改为自己的appid
+ 用微信web开发者工具打开`miniprogram`并编译## 软件截图
![会议室列表](https://raw.githubusercontent.com/007gzs/meeting/master/resource/1.jpg "会议室列表")
![会议预约](https://raw.githubusercontent.com/007gzs/meeting/master/resource/2.png "会议预约")
![会议列表](https://raw.githubusercontent.com/007gzs/meeting/master/resource/3.jpg "会议列表")
![会议明细](https://raw.githubusercontent.com/007gzs/meeting/master/resource/4.jpg "会议明细")
![会议室二维码](https://raw.githubusercontent.com/007gzs/meeting/master/resource/5.jpg "会议室二维码")
![我的会议](https://raw.githubusercontent.com/007gzs/meeting/master/resource/6.png "我的会议")