一个 Node.js 服务端项目。
Node.js 10+
yarn
yarn dev
重命名 ormconfig.json.example
,修改配置信息
先检查:yarn typeorm schema:log -c nodejs_backend
再考虑同步:yarn typeorm schema:sync -c nodejs_backend
重命名 src/config/payment.example.DELETE.the.suffix
,修改其中的配置文件。
开发过程中,可以用钉钉提供的 https://github.com/open-dingtalk/pierced
./ding -config=./ding.cfg -subdomain=yoursubname 3333
Windows 下:
./ding -config ./ding.cfg -subdomain yoursubname 3333
- 配置文件改为环境变量,与代码分离