swingerApp

django app of swinger


Keywords
swinger
License
GPL-3.0
Install
pip install swingerApp==1.3

Documentation

swingerApp

一個將Swinger套用到django上的套件

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisities

  1. OS:Ubuntu / OSX would be nice
  2. environment:need python3 sudo apt-get update; sudo apt-get install; python3 python3-dev

Installing

  1. 使用虛擬環境 Use virtualenv is recommended:
  2. virtualenv venv
  3. 啟動方法 How to activate virtualenv
  4. for Linux:. venv/bin/activate
  5. for Windows:venv\Scripts\activate
  6. 安裝 Install:pip install swingerApp

Running & Testing

Run

  1. settings.py裏面需要新增swingerApp這個app:
  • add this:

    INSTALLED_APPS=[
    ...
    ...
    ...
    'swingerApp',
    ]
    
  1. urls.py需要新增下列代碼 把所有 swinger 開頭的request都導向到swingerApp這個app:
  • add this:

    # swingerApp
    import swingerApp.urls
    urlpatterns += [
        url(r'^swinger/', include(swingerApp.urls))
    ]
    
  1. python manage.py runserver:即可進入頁面 127.0.0.1:8000/swinger 測試 swinger 是否安裝成功。

Break down into end to end tests

not yet.

And coding style tests

目前沒有coding style tests...

Deployment

swingerApp is a django-app, so depends on django project.

swingerApp 是一般的django插件,所以必須依存於django專案

Built With

  • python3.5
  • pymongo

Versioning

For the versions available, see the tags on this repository.

Contributors

License

This package use GPL3.0 License.

Acknowledgments