# Announcing kong-env, a tool for creating localized Kong Enterprise development environments

**URL:** <https://discuss.konghq.com/t/announcing-kong-env-a-tool-for-creating-localized-kong-enterprise-development-environments/5302>\
**Category:** General\
**Created:** [January 14, 2020, 7:43pm UTC](https://discuss.konghq.com/t/announcing-kong-env-a-tool-for-creating-localized-kong-enterprise-development-environments/5302 "2020-01-14T19:43:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tyree731](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/tyree731/32/1374_2.png) [@tyree731](https://discuss.konghq.com/u/tyree731)\
**Post date:** [January 14, 2020, 7:43pm UTC](https://discuss.konghq.com/t/announcing-kong-env-a-tool-for-creating-localized-kong-enterprise-development-environments/5302/1 "2020-01-14T19:43:47Z")

</div>

This post is announcing the open sourcing of a project I’ve been using at FactSet, [kong-env](https://github.com/factset/kong-env), a tool for downloading and installing, to a local directory, a completely self-contained development environment for a particular enterprise version of Kong. Usage is pretty simple:

```
$ ./kong-env.py -v 1.3
2020-01-14 10:05:49,397: initializing self-contained kong enterprise development environment: version=1.3
... <a bunch of output>
2020-01-14 10:14:30,251: done

```

This creates a directory under the current working direction, name `kong-<version>`, which contains everything you need to run a local Kong instance, including a compiled openresty with the `lua-kong-nginx-module`, a `luarocks` install pointing at all the right places, and the `kong-community` luarock installed at the right version. Attaching to said directory is straightforward:

```
$ source kong-1.3/bin/activate
(kong-1.3) $ 

```

Detaching being source’ing the `deactivate` script, ala python virtual environments. Creating a local plugin development environment, once the environment is sourced, is basically git clone’ing the [kong repository](https://github.com/Kong/kong), then creating your kong-plugin development directory next to the kong repository directory.

Open to feedback, issues and pull requests. If this seems useful to you, please give it a try. Thanks!

---

<div class="post-metadata">

**Author:** ![Tieske](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/tieske/32/54_2.png) [@Tieske](https://discuss.konghq.com/u/Tieske)\
**Post date:** [January 16, 2020, 11:03am UTC](https://discuss.konghq.com/t/announcing-kong-env-a-tool-for-creating-localized-kong-enterprise-development-environments/5302/2 "2020-01-16T11:03:33Z")

</div>

Interesting approach, will need to give this a spin.

Meanwhile; have you seen [Pongo](https://github.com/Kong/kong-pongo)? if so, what features were you missing that caused you to develop `kong-env`?

---

<div class="post-metadata">

**Author:** ![tyree731](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/tyree731/32/1374_2.png) [@tyree731](https://discuss.konghq.com/u/tyree731)\
**Post date:** [January 16, 2020, 2:41pm UTC](https://discuss.konghq.com/t/announcing-kong-env-a-tool-for-creating-localized-kong-enterprise-development-environments/5302/3 "2020-01-16T14:41:37Z")

</div>

`Pongo` looks great, but unless I misunderstood the documentation, it supports only docker containers, they which I can not use from my environment. This project is closer to `kong-build-tools` and `kong-ci` in spirit, but if anything I’d use `kong-build-tools` in this project if I can aim it correctly, and `kong-ci` relies on sudo, which I don’t have in my environment.

---

<div class="post-metadata">

**Author:** ![Tieske](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/tieske/32/54_2.png) [@Tieske](https://discuss.konghq.com/u/Tieske)\
**Post date:** [January 17, 2020, 9:05am UTC](https://discuss.konghq.com/t/announcing-kong-env-a-tool-for-creating-localized-kong-enterprise-development-environments/5302/4 "2020-01-17T09:05:40Z")

</div>

Thx for the feedback. Indeed Pongo relies heavily on Docker and Docker images. If that is a limitation then Pongo won’t do.
