Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 592 Bytes

README.md

File metadata and controls

43 lines (32 loc) · 592 Bytes

MAGN-Generator

MAGN影评

前端 Frontend

Vue.js2+Vuetify。

npm install
npm run dev
#or
npm run build

后端 Backend

Node.js+Koa2+MongoDB。

配置 Configuration

新建/src/config.js:

module.exports = {
    port: "Your Backend Listen Port",
    dbUser: "Your DB User",
    dbPassword: "Your DB Password",
    dbDomain: "Your DB Address",
    dbPort: "Your DB Port",
    dbName: "Your DB Name",
    tokenSecret: "Your Token Secret",
    rootDir: __dirname,
};
npm install
node ~/src/app.js
#or
pm2 start ~/src/app.js --watch