A Restful Frame Based On Gunicorn
- Fork repo
- Clone to your local
- Add Remote as upstream
- Do some change
- Push to your origin
- Pull request
after you add some future or fix something, you should add unittest for your change
make unittest -sx
to make sure test is pass
make pylint
can check your code with flake8
make bump ver=x.x.x.x
to bump a new version
pip install rest_arch
├── app.yaml
├── foo
│ ├── __init__.py
│ ├── app.py
│ ├── models.py
│ ├── settings.py
├── requirements.txt
skt bootstrap
to build a app.cd your_app_path
runskt serve
to start app.skt shell
to run a client asc
.c.get('/ping')
to get a response.
import logging
from rest_arch.app import make_app
app = make_app(__name__)
logger = logging.getLogger(__name__)
logger.info('A Test Log Info')
- kiven.mr@gmail.com
- create issue or pull request