Skip to content

Cloudify CLI

Radim Pesa edited this page Apr 17, 2018 · 2 revisions

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.

Install

Prerequisites

Make sure the minimal set of bootstrap dependency packages is installed:

RHEL/CentOS 7.x

yum install epel-release
yum update 
yum install git make gcc sudo wget python-pip

Debian/Ubuntu family

sudo apt update 
sudo apt install git make gcc sudo wget python-pip

make

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:

RHEL/CentOS 7.x

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 3.4.2

Debian/Ubuntu family

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 3.4.2

Check

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.

Clone this wiki locally