shenhuniurou / yike.io

一刻社区前端源码

Home Page:https://yike.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

论坛项目源码: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

About

一刻社区前端源码

https://yike.io/


Languages

Language:Vue 56.6%Language:JavaScript 33.9%Language:CSS 8.7%Language:PHP 0.5%Language:HTML 0.3%