Vagrant is used to create an isolated environment for Kong including Postgres, Cassandra and Redis.
You can use the vagrant box either as an all-in-one Kong installation for testing purposes, or you can link it up with source code and start developing on Kong or on custom plugins.
Here is a quick example showing how to build a (disposable) test setup:
Starting the Environment:
Get the Vagrantfile and start it:
$ git clone https://github.com/Mashape/kong-vagrant $ cd kong-vagrant/ $ vagrant up
$ vagrant ssh -c "kong start"
The host ports
8444will be forwarded to the Vagrant box.Note: Check out the kong-vagrant repository for further details on customizations and development.
Kong is running:
$ curl http://127.0.0.1:8001
Start using Kong:
Quickly learn how to use Kong with the 5-minute Quickstart.