这是一个创建于 3128 天前的主题,其中的信息可能已经有所发展或是发生改变。
5 条回复 • 2016-08-23 11:51:09 +08:00
![adoyle](https://cdn.v2ex.com/avatar/e6a7/5be3/27765_normal.png?m=1682333375) |
|
1
adoyle 2016-07-25 20:47:26 +08:00 1
|
![arzusyume](https://cdn.v2ex.com/avatar/09a6/30e0/9950_normal.png?m=1401590878) |
|
2
arzusyume 2016-07-26 13:25:20 +08:00
我最早是用 node-env-file, 后来用 pm2 就直接定义启动参数的文件了
|
![m31271n](https://cdn.v2ex.com/gravatar/b61571fb78ed7681a9b9699a05f30e60?s=48&d=retro) |
|
3
m31271n 2016-08-17 16:19:26 +08:00
`process.env` 就够了
|
![luoyjx](https://cdn.v2ex.com/avatar/988e/d0b9/124335_normal.png?m=1639493302) |
|
5
luoyjx 2016-08-23 11:51:09 +08:00 1
|