31
GitHub - a54552239/projectManageApi: 项目管理系统接口
source link: https://github.com/a54552239/projectManageApi
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
项目管理系统接口
需要配合前端项目使用
有不明白的地方的可以加群:275264059,或者联系我,QQ:545522390
演示地址
登陆
账号:admin 密码:123456
界面截图
完整部署步骤
需要环境:php 5.6或者以上版本,mysql 5.6
- 可以直接下载phpstudy部署环境
- 下载后端接口,解压到网站目录
- 安装依赖
- 进入项目目录
- 方式一:Composer
- 方式二:下载vendor.zip,直接解压到项目根目录,覆盖原有的vender文件夹
- 将data目录下面的最新版本的sql文件(project_sql.sql)导入数据库
- 修改config目录下的dbs.php文件,配置数据库信息
- 访问项目,如:http://localhost/ApiForProjectManage/public 出现如下提示则表示部署成功
- 下载前端项目
- 安装node.js
- 地址:http://nodejs.cn/download/ 根据情况选择版本
- 安装npm淘宝镜像
- 运行cmd
- 输入:npm install -g cnpm --registry=https://registry.npm.taobao.org
- 安装项目
- 打包项目(有必要的话)
- 部署消息推送
- 推送项目内成员的操作动态
- 进入后端接口目录
- 修改
src\App\Plugins\GateWayWorker\start_register.php
src\App\Plugins\GateWayWorker\start_gateway.php
src\App\Plugins\GateWayWorker\start_businessworker.php
src\App\Plugins\MessageService.php - 将以上4个文件中的ip地址修改为内网ip地址
- Windows环境下,直接运行gate_start_for_win.bat文件
- Linux环境下,运行 bash start.sh 启动服务,运行 bash stop.sh 终止服务
- 进入前端目录
- 修改 src/components/socket.vue,将initWebSocket 函数内的ws地址修改为相应的ip地址。如果使用wss,不能写ip需要写域名
- 注意服务器要放行对应的端口(默认2345、2346)
- 部署成功
- 使用七牛云存储
- 进入后端目录 ./config/constant.php
- 将USE_QINIU的值修改为true
- 将APP_URL的值修改为网站地址
- 进入后端目录 ./config/app.php
- 将Qiniu需改改为对应的值
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK