|
|
il y a 3 ans | |
|---|---|---|
| bin | il y a 3 ans | |
| config | il y a 3 ans | |
| model | il y a 3 ans | |
| node_modules | il y a 3 ans | |
| public | il y a 3 ans | |
| routes | il y a 3 ans | |
| views | il y a 3 ans | |
| .env.example | il y a 3 ans | |
| .gitignore | il y a 3 ans | |
| README.md | il y a 3 ans | |
| app.js | il y a 3 ans | |
| package-lock.json | il y a 3 ans | |
| package.json | il y a 3 ans |
安装必要的库
npm install
配置环境变量
vim ~/.bashrc
export DENET_CRYPT_KEY=0IPmaec1o9FQCqGN
export DENET_CRYPT_IV=Zh4A7bOY2ksp9oIn
source ~/.bashrc
启动
<!-- 测试环境启动 具备热更新-->
npm run dev
<!-- 线上环境启动 -->
npm run prd
健康检查
http://localhost:3000/nenet