Skip to content
AnoopAlias edited this page Nov 26, 2014 · 7 revisions

nDeploy Installation Instructions


Setting up various Backends

Note that if you have just finished installing nDeploy;it is a good idea to logout and relogin so that the different shell variabled gets initialized before you setup the backends .In particular we are intrested in the following being added by the setup script to /root/.bashrc

export PHPBREW_ROOT=/usr/local/phpbrew

export NVM_DIR=/usr/local/nvm

nDeploy version 1.0-1 supports the following backend types ( all in caps) PHP , PYTHON , RUBY , PROXY , NODEJS

Different versions or types of the above backend types must be registered in the file /opt/nDeploy/conf/backends.yaml

For each supported backends there are a growing number of profiles( nginx config templates) available in /opt/nDeploy/conf/nnnn.tmpl , where nnnn specifies a 4 digit number ( 1000 for eg:) . You can add your own config templates by registering them correctly at /opt/nDeploy/conf/profiles.yaml .

Since the above 2 files follow the yaml structure;we have provided scripts to update the files( manual editing may also work;but is not recommended)

The script used to update the above files are

/opt/nDeploy/scripts/update_backend.py backend_category backend_name backend_path

/opt/nDeploy/scripts/update_profiles.py backend_category profile_code profile_description_in_doublequotes

eg:

/opt/nDeploy/scripts/update_backend.py PHP php-5.4.33 /usr/local/phpbrew/php/php-5.4.33

/opt/nDeploy/scripts/update_profiles.py PHP 5678 "Magento configuration"

Setting up PHP

Setting up RUBY

Setting up PYTHON

Setting up NODEJS

Setting up COLDFUSION

caveats and tips

nDeploy is licensed under GPL .

Clone this wiki locally