Jokk
RESTful mock api server.
Jokk
is heavily inspiered by EasyMock <https://github.com/cyberagent-jp/node-easymock>
_.
.. image:: https://travis-ci.org/heavenshell/py-jokk.png?branch=master
Repository <https://github.com/heavenshell/py-jokk/>
_Documentation <https://jokk.readthedocs.org/en/latest/>
_
Installation
::
$ virtualenv --distribute jokk_sample
$ source jokk_sample/bin/activate
$ cd jokk_sample
$ pip install jokk
Jokk
depends on Werkzeug <http://werkzeug.pocoo.org>
_ using for WSGI Utility Library.
Usage
- Create
config.json
for configure settings such as routes, variables - Create
data
directory for serve response files - Put response file into
data
directory - Start Jokk server
::
$ jokk -c config.json
- Access to jokk server client such as Web browser.
- Jokk would return response file
Options
See documantaion.
Contributing
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request