Giter Site home page Giter Site logo

chakra-coder / orange Goto Github PK

View Code? Open in Web Editor NEW

This project forked from orlabs/orange

0.0 2.0 0.0 2.43 MB

OpenResty/Nginx Gateway for API Monitoring and Management.

Home Page: http://orange.sumory.com

License: MIT License

Makefile 0.19% Lua 39.76% Nginx 0.81% CSS 1.29% JavaScript 25.75% HTML 32.15% Shell 0.05%

orange's Introduction

Orange

GitHub release license

中文 | English | Website

A Gateway based on OpenResty(Nginx+lua) for API Monitoring and Management.

Install & Usages

Requirements

  • MySQL v5.5+
  • OpenResty v1.9.7.3+ or Nginx+lua module
    • install OpenResty with --with-http_stub_status_module option
  • Lor Framework v0.2.5+
  • libuuid.so

Import the SQL file(e.g. install/orange-v0.6.0.sql) which is adapted to your Orange version to MySQL database named orange.

Install

1) version < 0.5.0

If you use Orange under v0.5.0, there is no need to install.

2) version >= 0.5.0

In addition to start.sh script, a new cli tool could be utilized to manage Orange. You should install the cli first:

cd orange
make install

then, the Orange runtime lua module is installed in /usr/local/orange and an executable command named /usr/local/bin/orange is generated.

Usages

Before starting Orange, you should ensure that the orange.conf and nginx.conf are redefined to satisfy the demands of your project.

1) version < 0.5.0

Just sh start.sh to start Orange. You could rewrite some other shell scripts as you need.

2) version >= 0.5.0

orange help to check usages:

Usage: orange COMMAND [OPTIONS]

The commands are:

start   Start the Orange Gateway
stop    Stop current Orange
reload  Reload the config of Orange
restart Restart Orange
store   Init/Update/Backup Orange store
version Show the version of Orange
help    Show help tips

Documents

Find more about Orange on its website. There is only a Chinese version for now.

Docker

http://hub.docker.com/r/syhily/orange maintained by @syhily

Contributors

See also

The plugin architecture is highly inspired by Kong.

License

MIT

orange's People

Contributors

noname007 avatar sumory avatar syhily 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.