Why do I need the CLI?
The CloudFactory command-line interface is built on top of Ruby.
But don't worry, you don't need to know anything about Ruby - you just need to install it (like needing JRE, Silverlight or Flash for other cross-platform applications).
Step 1: Ruby Already Installed? (if so skip to step 3)
To check for ruby install
ruby -v
If you get back version 1.8.7 or higher (although we highly recommend 1.9.2), then you are good to skip to step 3.
Step 2: Install Ruby
There are lots of great resources online to install Ruby 1.9.2 on your platform, here are some we recommend:Install Ruby 1.9.2 on Mac OS X
Install Ruby 1.9.2 on Ubuntu
Install Ruby 1.9.2 on Windows
You can also get fancy and install Ruby using RVM.
Step 3: Install CloudFactory Ruby Gem
Put the following content in your ~/.bashrc or ~/.zshrc or whatever you use:Then upgrade your rubygemexport LANG=en_US.UTF-8 exportLC_ALL=en_US.UTF-8
gem update --system
Now install the gem:
gem install cloudfactory
That gives you the CLI tool to interact with CloudFactory. To interact with CloudFactory, you've to sign up at CloudFactory Then you have to login first.
cf login
Thats it for setting up the CLI with CloudFactory.
Step 4: Try the CLI
Now you can build your own assembly lines! See our examples.
Frequently asked questions:
How to fix common issues:
Did you get an error that said you need to update RubyGems?
gem update --system
To sudo or not sudo, that is the question!
Windows => just “gem install cloudfactory”
RVM => just “gem install cloudfactory”
Otherwise, Mac + nix => “sudo gem install cloudfactory”