Skip to main content

sanboxnodejs

SanBox NodeJS Apps

Install and manage per site based NodeJs apps and npm modules. This tool will provide a virtual  muti NodeJs and module manager for a website .

The SanBox NodeJs application can be managed by UAPP control panel in a Multi NodeJS server. 

You may need to setup Muti NodeJs to  enable this feature.

Eenos is the first control panel that provides SanBox NodeJs application  with an easy user friendly deployment interface for hosting users.

This  command line tool is a server administrator tool.

Command:

/usr/local/eenos/scripts/sanboxnodejs

Command Options:

Usage: /usr/local/eenos/scripts/sanboxnodejs <option>  [value]

Command Groups:
Options:   
    -i <domain> <nodejs version>        :   To install a specific NodeJs sanbox for a domain
    -r <domain>                         :   To remove the NodeJs sandbox of a domain
    -ri <domain>                        :   Re install NodeJs sandbox on domain
    -ns <domain> <action> <packages>    :   To install,update or uninstall npm packages

Install SanBox NodeJs On Domain

To setup a   SanBox  NodeJs environment  on a website, use the following  command,

/usr/local/eenos/scripts/sanboxnodejs -i <domain> <nodejs version> 

where <domain> is the website name and <nodejs versions> is the required node js version.

Example:  To setup  NdoeJS 18  sanbox environment on a domain foo.com use the following command 

/scripts/setupnodejs -i foo.com eenos-nodejs18

To find all NiodeJS version , you may use the  Setupnodejs Tools.

Remove SanBox  NodeJS From Domain

To uninstall sanBox nodejs version from a domain, use the following command,

/usr/local/eenos/scripts/sanboxnodejs -r <domain>

where <domain> is the website name.

Manage Npm Packages

To install , update or uninstall NPM packages, use the following command,

/usr/local/eenos/scripts/sanboxnodejs -ns <domain> <action> <packages> 

where <domain> is the website 

<action> is install , update or uninstall

<packages> is command separated list of NPM packages

Eenos user can manage the npm modules from  UAPP Control panel interface.