Node.js Official documentation
Commands
- devops nodejs start
- Start all the apps managed by Foreverd (node.js) if stopped
- devops nodejs stop
- Stop all the apps managed by Foreverd (node.js) if started
- devops nodejs restart
- Restart all the apps managed by Foreverd (node.js).
- devops nodejs app add
-
Add a new app defintion for foreverd to run
Options
Name Type Description Required extra_env string additional environment variable to pass to the application name string name of your app Required node_env string node.js environment var NODE_ENV root string path of the root folder of your app Required script string node.js script to run via foreverd Required user string running user of the application
Configuration
-
configuration:
- nodejs:
- packages array
- List of packages to have globally installed on the server