nenet node server

DevYK 8466310f0c update README.md il y a 3 ans
bin 6c7023d2a0 denet server init il y a 3 ans
config 1a741c2fe6 配置测试环境 redis il y a 3 ans
model 8466310f0c update README.md il y a 3 ans
node_modules 8466310f0c update README.md il y a 3 ans
public 6c7023d2a0 denet server init il y a 3 ans
routes 1a741c2fe6 配置测试环境 redis il y a 3 ans
views 6c7023d2a0 denet server init il y a 3 ans
.gitignore 1a741c2fe6 配置测试环境 redis il y a 3 ans
README.md 8466310f0c update README.md il y a 3 ans
app.js 6c7023d2a0 denet server init il y a 3 ans
package-lock.json 6c7023d2a0 denet server init il y a 3 ans
package.json 6c7023d2a0 denet server init il y a 3 ans

README.md

安装必要的库

npm install

配置环境变量

export NENET_CRYPT_KEY=MOGsyhYeY5gWohJGLYyr3TDa7EsUqQ715WF5GPiK0TY=
export =$PATH:$NENET_CRYPT_KEY

启动

<!-- 测试环境启动 具备热更新-->
npm run dev
<!-- 线上环境启动 -->
npm run prd

文档