User Tools

Site Tools


nodejs:development-mode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nodejs:development-mode [2026/03/18 05:06] kirtisinghnodejs:development-mode [2026/04/15 09:44] (current) kirtisingh
Line 1: Line 1:
 ===How to run/work with development mode for NodeJS Apps=== ===How to run/work with development mode for NodeJS Apps===
  
-**Step 1 :** Log into N99panel. From under N99panel dashboard, click 'Node Apps'+**Step 1 :** Log into N99panel. From under N99panel dashboard, click 'Dev Mode Apps (via SSH)'
  
-{{:nodejs:click-node-apps.png?direct&400|}} +{{:nodejs:nj2-dev-mode.png?direct&400|}}
-\\ +
- +
-**Step 2 :** Now click 'NodeJS (dev/SSH Mode)' +
- +
-{{:nj2:s1-click-dev-ssh-mode.png?direct&400|}}+
  
 \\ \\
  
-**Step :** Now click 'Link a Node App (dev mode)' +**Step :** Now click 'Link a App (Dev Mode)'
- +
-{{:nj2:s2-click-link-node-app-dev-mode.png?direct&400|}}+
  
 +{{:nodejs:click-nj2-dev-mode-add.png?direct&400|}}
 \\ \\
  
-**Step :** Fill in the form as under +**Step :** Fill in the form as under
- +
-{{:nj2:s3-dev-mode-form.png?direct&400|}}+
  
 +{{:nodejs:nj2n-link-a-node-app.png?direct&400|}}
 \\ \\
  
-**Important point :**\\+**Important points :**\\
   - Select the VHost (website) mentioned along with the user.\\    - Select the VHost (website) mentioned along with the user.\\ 
   - Enter the ‘Local URL’ . This would be like /app1 or /app2 or it can even be the website root i.e. /\\   - Enter the ‘Local URL’ . This would be like /app1 or /app2 or it can even be the website root i.e. /\\
   - Enter the ‘App Port’ . The port on which your App runs . You need to ensure that your App listens on interface 0.0.0.0 instead of 127.0.0.1 or localhost which typically are used\\   - Enter the ‘App Port’ . The port on which your App runs . You need to ensure that your App listens on interface 0.0.0.0 instead of 127.0.0.1 or localhost which typically are used\\
-  - The SSH daemon w.r.t. the concerned user will be restarted to enable backend port mappings. Therefore if any existing apps are running under dev mode, those will be stooped/terminated. You will need to manually start you dev mode apps again. This applies whenever the SSH daemon is restarted. But when NodeJS Apps run in app/production mode, this down not apply. App/production mode is recommended when you have done completed development or testing of the App, as each App in that mode ha sits own lifecycle. +  - The SSH daemon w.r.t. the concerned user will be restarted to enable backend port mappings. Therefore your dev mode app and any existing dev mode apps would need to be manually started. This applies whenever the SSH daemon is restarted. But when NodeJS Apps run in app/production mode, this does not apply. App/production mode is recommended when you have completed development or testing of the App, as each App in that mode has its own lifecycle. 
  
 Read further on how to start the App when logged into SSH Read further on how to start the App when logged into SSH
nodejs/development-mode.1773810363.txt.gz · Last modified: 2026/03/18 05:06 by kirtisingh

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki