Skip to content

Latest commit

 

History

History
91 lines (74 loc) · 2.31 KB

README.md

File metadata and controls

91 lines (74 loc) · 2.31 KB

kloud-installer

The enmterprise installer for ☁️ kloud.io

Please note that this tool is in beta. Feel free to contribute by filing issues and bugs here.

Installation

To install the kloud-installer binary you need to run install.sh or the following:

curl -o- https://raw.githubusercontent.com/kloudio/kloud-installer/master/install.sh | sudo sh

Verify installation worked

kloud-installer version

Usage

To verify your installation worked, run the following:

kloud-installer version

You can always use the --help to try to get more information.

➜ ./kloud-installer --help
A set of tools for Kloudio.

Usage:
  kloud-installer [command]

Available Commands:
  help        Help about any command
  install     Install the whole kloud or just a piece of it
  list        list a resource
  version     Output the version

Flags:
  -h, --help   help for kloud-installer

Use "kloud-installer [command] --help" for more information about a command.

Listing Services

To list the services that are included with this installer you can run the following:

➜ kloud-installer list services
db_migrations
frontend
backend
intg_jobs
jobs
integrations
destination_service
usage_analytics
crongjobs

Complete Enterprise Installation

To set up a new enterprise, run the following:

  1. Install the CORE services, including backend, clients, and the database on 1 instance.
sudo kloud-installer install core \
  --license 'license-key' \
  --database '{"host":"<rds-host>","port":5432,"dialect":"postgres","database":"kloudio","username":"kloudio","password":"<rsd-password>"}' \
  --host 'http://<ec2-host>'
  1. Install the other services on the second instances.
sudo kloud-installer install \
  --license 'license-key' \
  --database '{"host":"<rds-host>","port":5432,"dialect":"postgres","database":"kloudio","username":"kloudio","password":"<rsd-password>"}' \
  --host 'http://<ec2-host>'

Optional Arguments

Supply the cleanup=false flag to keep installation files around.

sudo kloud-installer install \
  --cleanup=false

Supply the verbose=true and debug=true flag for more output.

sudo kloud-installer install \
  --verbose=true \
  --debug=true