nodejs:differences-dev-prod
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nodejs:differences-dev-prod [2024/04/07 03:35] – kirtisingh | nodejs:differences-dev-prod [2024/04/07 03:39] (current) – kirtisingh | ||
---|---|---|---|
Line 1: | Line 1: | ||
===Differences between NodeJS development and production modes=== | ===Differences between NodeJS development and production modes=== | ||
- | N99panel offers two modes for App deployment - [[:node: | + | N99panel offers two modes for App deployment - [[:nodejs: |
| ^Development Mode ^Production Mode| | | ^Development Mode ^Production Mode| | ||
^App Trigger|The user triggers the app via SSH|The system triggers the app as per the config settings| | ^App Trigger|The user triggers the app via SSH|The system triggers the app as per the config settings| | ||
^App Stability|The app will only run for as long SSH session or the process is running (if placed in background using &). Still the process is unpredictable.\\ \\ **//System or SSHD restart will stop the app//**|It is highly stable. \\ \\ **//Even after system restart the App would also start//**| | ^App Stability|The app will only run for as long SSH session or the process is running (if placed in background using &). Still the process is unpredictable.\\ \\ **//System or SSHD restart will stop the app//**|It is highly stable. \\ \\ **//Even after system restart the App would also start//**| | ||
- | ^Environment | + | ^Environment |
^Resource References|If a user is starting the App from the App's folder, all references within the code etc. would be relative to that folder.|Relative references to resources will not work. Absolute or full path of resources needs to be specified. \\ \\ Here we advise that you design your app in such a way, that the absolute path is specified only once in the environment variable file, and the same can then be referred for creating assets/ | ^Resource References|If a user is starting the App from the App's folder, all references within the code etc. would be relative to that folder.|Relative references to resources will not work. Absolute or full path of resources needs to be specified. \\ \\ Here we advise that you design your app in such a way, that the absolute path is specified only once in the environment variable file, and the same can then be referred for creating assets/ |
nodejs/differences-dev-prod.1712460930.txt.gz · Last modified: 2024/04/07 03:35 by kirtisingh