Installation from SOURCE¶ ↑
If you can install hammer from git checkouts, you will just need rake
installed on your system.
Step 1: clone the sources¶ ↑
Clone and install CLI core
$ git clone https://github.com/theforeman/hammer-cli.git $ cd hammer-cli $ bundle install $ rake install $ cd ..
clone plugin with foreman commands
$ git clone https://github.com/theforeman/hammer-cli-foreman.git $ cd hammer-cli-foreman $ bundle install $ rake install $ cd ..
and optionally other plugins.
Step 2: enable and configure the plugins¶ ↑
-
Add the plugin as a gem to
Gemfile.local.rb
-
Copy the configuration files to proper locations manually, please check our configuration instructions and see how to proceed.