Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/appwilldev/moochine
MOOCHINE - A simple and lightweight web framework based on OpenResty(ngx_lua, http://openresty.org).
https://github.com/appwilldev/moochine
Last synced: 7 days ago
JSON representation
MOOCHINE - A simple and lightweight web framework based on OpenResty(ngx_lua, http://openresty.org).
- Host: GitHub
- URL: https://github.com/appwilldev/moochine
- Owner: appwilldev
- License: apache-2.0
- Created: 2012-02-09T03:31:11.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-05-28T03:38:27.000Z (over 10 years ago)
- Last Synced: 2024-03-26T07:54:09.192Z (8 months ago)
- Language: Lua
- Homepage: https://github.com/appwilldev/moochine-demo
- Size: 564 KB
- Stars: 241
- Watchers: 50
- Forks: 71
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
- awesome-resty - MOOCHINE
README
.. MOCHINE README
MOOCHINE
=================A (very) simple and lightweight web framework based on
`ngx-openresty `_.Download
------------------
git clone git://github.com/appwilldev/moochine.gitChangelog
------------------v0.3
~~~~~~~~~~~~~~~~~~* move `routing.lua` from app directory to app root directory
* `application.lua` for app config (in app root directory)
* Multi-App support
* Sub-App support
* Facilities of logger and debug
How to use
-----------------* Install ngx-openresty
* Checkout moochine source, place it to somewhere, suppose to /path/to/machine below
* There's some demo-apps under the dir ``/path/to/moochine/demos``, you can run and test
them after modifying these file:
* demo1/nginx_runtime/conf/nginx.conf (the nginx config file, you need change the MOOCHINE_HOME and
MOOCHINE_APP_NAME var and MOOCHINE_APP_PATH var)
* demo1/routing.lua (url map using lua's ``string.match``)
* demo1/application.lua (moochine app config file)
* demo1/templates/* (`ltp templates `_)Demo
-----------------A complete Demo
https://github.com/appwilldev/moochine-demoRoadmap
-----------------``Moochine`` is simple now, so there's no ``Roadmap`` for it at the moment, but any feature
request is welcome, just tell us, or make it out yourself.
License
------------------
This software is distributed under Apache License Version 2.0, see file ``LICENSE`` or
http://www.apache.org/licenses/LICENSE-2.0