Skip to main content

sanboxnodejs

SanBox NodeJS Apps

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

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

You may need to set upsetup Muti NodeJs to enable this feature.

Eenos is the first control panel that provides the SanBox NodeJs application with an easy user 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 setupset up 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 jsnodejs version.

Example:  To setupset up  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 ,versions, you may use the  Setupnodejs Tools.

Remove SanBox  NodeJS From the 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 installinstall, , updateupdate, 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 ,install, update or uninstall

<packages> is commanda comma-separated list of NPM packages

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