Created
October 5, 2023 15:09
-
-
Save onosendi/2d429141501ad605763e22f7e5dd5487 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const path = require('path'); | |
const cwd = path.resolve(__dirname); | |
const ecosystem_config = { | |
apps: [ | |
{ | |
name: 'foo app', | |
script: 'npm run --silent start', | |
cwd, | |
}, | |
] | |
}; | |
module.exports = ecosystem_config; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"start": "NODE_ENV=production $NVM_DIR/versions/node/v$(cat .nvmrc)/bin/node entry.js" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment