Vagrant can be used to create an isolated environment for Kong and its dependencies.
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:
Get the Vagrantfile and start the VM
$ git clone https://github.com/Kong/kong-vagrant $ cd kong-vagrant/ $ vagrant up
# specify migrations flag to initialise the datastore $ vagrant ssh -c "kong start --run-migrations"
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
Quickly learn how to use Kong with the 5-minute Quickstart.
Get future release notes emailed to you.