Install

Thiago da Rosa de Bustamante edited this page Mar 26, 2018 · 8 revisions

Requirements

Tree Gateway uses a Redis database to store it's configurations and to manage all nodes of it's cluster.

So, if you don't have a redis database already running, install it before going further.

For docker users, the easiest way to have a simple standalone redis is just running the following command:

$ docker run -p 6379:6379 -d --name redis redis

Installation

$ npm install tree-gateway -g

After this, you can run the gateway using the following command:

$ treeGateway

Or, for docker users:

$ docker run --name tree-gateway -p 8000:8000 --link redis:redis -d treegateway/tree-gateway:latest

Now, you can go to Configuration step.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.