Installation

Overview

ClearBlade manages deployments using Docker. From a fresh linux box, you can be up and running in 3 steps:

Step 1. Obtain Trial Key and Docker Key from ClearBlade

1. Trial keys and Docker Keys are issued by ClearBlade and can be requested via email: support@clearblade.com

Step 2. Install Docker

1. Request the installation

curl -sSL https://get.docker.com/ | sh 

2. Add your user to the docker group

sudo usermod -aG docker <USER> 

3. Switch to new user

su <USER>

4. Log into Docker

docker login -e <YOUR@EMAIL.com> -u \_json_key -p "$(cat /path/to/docker.json)" https://gcr.io

Step 3. Install and Launch ClearBlade

1. This is an example of our deployment script, which pulls and launches five containers

docker run -d --name cb_data gcr.io/.../cb_postgres:2.1.0

docker run -d --name cb_postgres gcr.io/.../cb_postgres:2.1.0

docker run -d --name clearblade gcr.io/.../clearblade:3.3 -pkey="/path/to/trialkey"

docker run -d --name cb_console gcr.io/.../cb_console:3.3

docker run -d --name cb_nginx gcr.io/.../cb_nginx:2.4.0

Begin developing!