75 lines
2.7 KiB
Markdown
75 lines
2.7 KiB
Markdown
![]() |
# pearProjectApi
|
|||
|
|
|||
|
基于Vue.js实现的项目管理系统
|
|||
|
|
|||
|
需要配合[前端项目](https://github.com/a54552239/pearProject)使用,链接:https://github.com/a54552239/pearProject
|
|||
|
|
|||
|
有不明白的地方的可以加群:275264059,或者联系我,QQ:545522390
|
|||
|
### 演示地址
|
|||
|
> [https://beta.vilson.xyz](https://beta.vilson.xyz)
|
|||
|
|
|||
|
### 登陆 ###
|
|||
|
账号:123456 密码:123456
|
|||
|
### 界面截图
|
|||
|

|
|||
|
|
|||
|

|
|||
|
|
|||
|

|
|||
|
|
|||
|

|
|||
|
|
|||
|

|
|||
|
|
|||
|

|
|||
|
|
|||
|

|
|||
|
|
|||
|

|
|||
|
|
|||
|

|
|||
|
|
|||
|

|
|||
|
|
|||
|

|
|||
|
|
|||
|

|
|||
|
|
|||
|

|
|||
|
### 安装步骤 ###
|
|||
|
```
|
|||
|
PHP >= 7.0.0 (推荐PHP7.2版本)
|
|||
|
Mysql >= 5.5.0 (需支持innodb引擎)
|
|||
|
PDO PHP Extension
|
|||
|
Node.js
|
|||
|
Composer
|
|||
|
```
|
|||
|
- 可以直接下载[phpstudy](http://phpstudy.php.cn/phpstudy/PhpStudy20180211.zip)部署环境
|
|||
|
1. 下载后端接口文件,解压到站点根目录(或使用Git: git clone https://github.com/a54552239/pearProjectApi)
|
|||
|
2. 安装后端依赖
|
|||
|
1. 进入接口文件目录
|
|||
|
2. 方式一:Composer
|
|||
|
3. 方式二:下载[vendor.zip](https://static.vilson.xyz/help/pearproject/vendor.zip),直接解压到项目根目录,覆盖原有的vender文件夹
|
|||
|
3. 下载前端项目
|
|||
|
4. 安装node.js
|
|||
|
1. 地址:http://nodejs.cn/download/ 根据情况选择版本
|
|||
|
2. 安装npm淘宝镜像
|
|||
|
1. 运行cmd
|
|||
|
2. 输入:npm install -g cnpm --registry=https://registry.npm.taobao.org
|
|||
|
5. 安装前端依赖
|
|||
|
1. 进入前端项目目录,运行cmd命令行
|
|||
|
2. 安装依赖:cnpm install
|
|||
|
1.如果接口端口不是默认端口,需修改./vue.config.js,将DEV_URL的值改为接口的访问地址
|
|||
|
3. 启动项目:npm run serve
|
|||
|
4. 根据提示填写数据库信息进行安装
|
|||
|

|
|||
|
6. 打包项目(有必要的话)
|
|||
|
1. 修改./src/config/config.js,修改PRO_URL地址
|
|||
|
2. 修改./vue.config.js,将publicPath 值改为‘/’。如果有CDN的话改为CDN地址
|
|||
|
3. 运行cmd,输入 npm run build
|
|||
|
4. 运行dist目录下的index.html,或者将dist目录下的文件部署到服务器上
|
|||
|
### 鼓励一下 ###
|
|||
|
<img src="https://static.vilson.xyz/pay/wechat.png" alt="Sample" width="150" height="150">
|
|||
|
|
|||
|
<img src="https://static.vilson.xyz/pay/alipay2.png" alt="Sample" width="150" height="150">
|