Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
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
$ npm install tree-gateway -g
After this, you can run the gateway using the following command:
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.