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 multi-NodeJs and module manager for a website.

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

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

Eenos is the first control panel that provides the 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 set 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 nodejs version.

Example:  To set 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 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 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 a comma-separated list of NPM packages

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