-
Notifications
You must be signed in to change notification settings - Fork 0
Cloudify CLI
For any deployment type, you need to have a working Cloudify CLI (cfy
). This tool can directly deploy and un-deploy standalone static virtual environment or interact with the Cloudify Manager, which takes care of the deployment itself.
The easiest way how to install Cloudify CLI (cfy
) is with the package for you operating system:
Check the tool is installed properly:
cfy --version
Make sure the minimal set of bootstrap dependency packages is installed:
yum install -y epel-release
yum update
yum install -y git make gcc sudo wget python-pip
sudo apt update
sudo apt install git make gcc sudo wget python-pip
Gromacs blueprint comes with the Makefile
to simplify the deployment process. The automated way of bootstraping the Cloudify CLI evironment is the make target bootstrap-cfy
:
make bootstrap-cfy
If it fails for whatever reason, try the manual procedure:
yum install -y python-virtualenv
wget -O get-cloudify.py 'http://repository.cloudifysource.org/org/cloudify3/get-cloudify.py'
python get-cloudify.py -e ~/cfy --version 18.2.28
apt-get install -y python-virtualenv python-pip
wget -O get-cloudify.py 'http://repository.cloudifysource.org/org/cloudify3/get-cloudify.py'
python get-cloudify.py -e ~/cfy --version 18.2.28
The cfy
tool should be installed into the Python environment inside the ~/cfy
. You have to first activate this environment by sourcing the file ~/cfy/bin/active
. Then you can check the tool is working.
source ~/cfy/bin/activate
cfy --version
The tool is properly installed if you get a non-error output.