1 Star 0 Fork 0

vilson / yike.io

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
readme.md 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
overtrue 提交于 2018-11-07 18:50 . Update readme.md

Yike.io

论坛项目源码:https://yike.io, 基于 Vuejs 开发的 Laravel SPA 项目。

🏵后端源码:https://github.com/overtrue/api.yike.io

开源中国 Gitee 仓库:Fork me on Gitee

安装

克隆后先安装依赖:

$ npm install

或者使用 yarn:

$ yarn install 

跑测试服务:

$ npm run serve

配置

Copy the .env.example to .env.[ENV]:

# local
cp .env.example .env.local

# production
cp .env.example .env.production

其中有两个变量是你在安装后端时 passport:install 得到的 Password Grant Clientidsecret

VUE_APP_AUTH_CLIENT_ID=
VUE_APP_AUTH_CLIENT_SECRET=

如果你忘记了,就去找 oauth_clients 表中找吧。

License

MIT

JavaScript
1
https://gitee.com/vilson/yike.io.git
git@gitee.com:vilson/yike.io.git
vilson
yike.io
yike.io
master

搜索帮助