GithubHelp home page GithubHelp logo

semillastan / django-kong-admin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peterayeni/django-kong-admin

0.0 2.0 0.0 434 KB

Home Page: https://pypi.python.org/pypi/django-kong-admin

License: BSD 3-Clause "New" or "Revised" License

Makefile 1.17% Python 96.78% HTML 2.05%

django-kong-admin's Introduction

django-kong-admin

docs Documentation Status
tests
CircleCI Build Status Coverage Status Scrutinizer Status
package PyPI Package latest release PyPI Package monthly downloads PyPI Wheel
compatibility Supported python versions Supported imlementations

A reusable Django App to manage a Kong service (https://getkong.org)

=== HOWTO ===

pip install django-kong-admin

In your Django Settings:

INSTALLED_APPS = (
    ....
    'jsonfield2',  # Used in the models - https://github.com/DarioGT/django-jsonfield2
    'django_ace',  # Used in the 'show_config' view - https://github.com/bradleyayers/django-ace
    'kong_admin'
    ....
)

# Tweak to your own needs
KONG_ADMIN_URL = 'http://localhost:8001'
KONG_ADMIN_SIMULATOR = False  # python-kong includes a simulator for testing purposes. You usually don't need that.

In your base url patterns:

urlpatterns = [
    ....
    url(r'^admin/', include(admin.site.urls)),
    ....
    # Optionally, add the following url, which is a view that displays the current kong config:
    url(r'^showconfig/', 'kong_admin.views.show_config')
    ....
]

Run default Django management commands to get things working

python manage.py migrate
python manage.py collectstatic
...

Then you can go to your Django admin site, and the Kong Admin entities will be manageable.

I plan to add more documentation in the near future! If you want to contribute to the library, be my guest!

django-kong-admin's People

Contributors

dirkmoors avatar jgeskens avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.