warapidpro


Namewarapidpro JSON
Version 1.2.17 PyPI version JSON
download
home_pagehttps://github.com/praekeltfoundation/wa-rapidpro
Summarywarapidpro
upload_time2018-04-16 14:31:07
maintainer
docs_urlNone
authorSimon de Haan
requires_python
license
keywords warapidpro
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            WARapidPro
==========

Wassup Integration for RapidPro.

::

    pip install -e '.[dev]'


::

    docker run praekeltfoundation/rapidpro-engage:latest


Setting up the application
~~~~~~~~~~~~~~~~~~~~~~~~~~

All environment variables for ``rapidpro-docker`` apply here.

Add `warapidpro` to `EXTRA_INSTALLED_APPS` in your environment variables.

You will also need at least 1 celery instance running. Use the command to run the worker:
``/venv/bin/celery --beat --app=temba worker --loglevel=INFO --queues=celery,msgs,flows,handler --max-tasks-per-child=10``

Note: that you should give your web application between 1-2GB of RAM in order to avoid uWSGI worker failures.

Get a oAuth client id and a client secret from https://wassup.p16n.org/oauth/applications/ or create a new one at https://wassup.p16n.org/oauth/applications/.
`Client type` should be `confidential` and `Authorization grant type` should be `authorization code`.

Make sure to setup the redirect uris correctly for your installation. These should be formatted as follows::

    https://<your domain>/channels/claim/wad/
    https://<your domain>/channels/claim/wag/


Environment Variables
~~~~~~~~~~~~~~~~~~~~~

- ``WASSUP_AUTH_URL`` defaults to ``https://wassup.p16n.org``
- ``WASSUP_AUTH_CLIENT_ID`` as per above.
- ``WASSUP_AUTH_CLIENT_SECRET`` as per above.



            

Raw data

            {
    "maintainer": "", 
    "docs_url": null, 
    "requires_python": "", 
    "maintainer_email": "", 
    "cheesecake_code_kwalitee_id": null, 
    "keywords": "warapidpro", 
    "upload_time": "2018-04-16 14:31:07", 
    "author": "Simon de Haan", 
    "home_page": "https://github.com/praekeltfoundation/wa-rapidpro", 
    "github_user": "praekeltfoundation", 
    "download_url": "https://pypi.python.org/packages/bf/5b/1cff9d0bd385d784060cdb00e1517e86ab2f5dfb45043753332be8f942ab/warapidpro-1.2.17.tar.gz", 
    "platform": "", 
    "version": "1.2.17", 
    "cheesecake_documentation_id": null, 
    "description": "WARapidPro\n==========\n\nWassup Integration for RapidPro.\n\n::\n\n    pip install -e '.[dev]'\n\n\n::\n\n    docker run praekeltfoundation/rapidpro-engage:latest\n\n\nSetting up the application\n~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nAll environment variables for ``rapidpro-docker`` apply here.\n\nAdd `warapidpro` to `EXTRA_INSTALLED_APPS` in your environment variables.\n\nYou will also need at least 1 celery instance running. Use the command to run the worker:\n``/venv/bin/celery --beat --app=temba worker --loglevel=INFO --queues=celery,msgs,flows,handler --max-tasks-per-child=10``\n\nNote: that you should give your web application between 1-2GB of RAM in order to avoid uWSGI worker failures.\n\nGet a oAuth client id and a client secret from https://wassup.p16n.org/oauth/applications/ or create a new one at https://wassup.p16n.org/oauth/applications/.\n`Client type` should be `confidential` and `Authorization grant type` should be `authorization code`.\n\nMake sure to setup the redirect uris correctly for your installation. These should be formatted as follows::\n\n    https://<your domain>/channels/claim/wad/\n    https://<your domain>/channels/claim/wag/\n\n\nEnvironment Variables\n~~~~~~~~~~~~~~~~~~~~~\n\n- ``WASSUP_AUTH_URL`` defaults to ``https://wassup.p16n.org``\n- ``WASSUP_AUTH_CLIENT_ID`` as per above.\n- ``WASSUP_AUTH_CLIENT_SECRET`` as per above.\n\n\n", 
    "lcname": "warapidpro", 
    "bugtrack_url": null, 
    "github": true, 
    "name": "warapidpro", 
    "license": "", 
    "github_project": "wa-rapidpro", 
    "summary": "warapidpro", 
    "split_keywords": [
        "warapidpro"
    ], 
    "author_email": "simon@praekelt.org", 
    "urls": [
        {
            "has_sig": false, 
            "upload_time": "2018-04-16T14:31:06", 
            "comment_text": "", 
            "python_version": "py2", 
            "url": "https://pypi.python.org/packages/3c/cb/3c74b1723db380296d485465570a784af88c8e42f743b65270c112794115/warapidpro-1.2.17-py2-none-any.whl", 
            "md5_digest": "58214ee9b850034cdbb0d5b69696b253", 
            "downloads": 0, 
            "filename": "warapidpro-1.2.17-py2-none-any.whl", 
            "packagetype": "bdist_wheel", 
            "path": "3c/cb/3c74b1723db380296d485465570a784af88c8e42f743b65270c112794115/warapidpro-1.2.17-py2-none-any.whl", 
            "digests": {
                "sha256": "3ff5c1815de5c0ecc618e8b9798f6e1f447679379e694e7e9542944720154036", 
                "md5": "58214ee9b850034cdbb0d5b69696b253"
            }, 
            "sha256_digest": "3ff5c1815de5c0ecc618e8b9798f6e1f447679379e694e7e9542944720154036", 
            "size": 16843
        }, 
        {
            "has_sig": false, 
            "upload_time": "2018-04-16T14:31:07", 
            "comment_text": "", 
            "python_version": "source", 
            "url": "https://pypi.python.org/packages/bf/5b/1cff9d0bd385d784060cdb00e1517e86ab2f5dfb45043753332be8f942ab/warapidpro-1.2.17.tar.gz", 
            "md5_digest": "2bc2c509e303146aefb16f8b58f4a3e8", 
            "downloads": 0, 
            "filename": "warapidpro-1.2.17.tar.gz", 
            "packagetype": "sdist", 
            "path": "bf/5b/1cff9d0bd385d784060cdb00e1517e86ab2f5dfb45043753332be8f942ab/warapidpro-1.2.17.tar.gz", 
            "digests": {
                "sha256": "0c7a79f9b41ef3ca56f33d5086fe50d75edb154608a03d751724cbc35a5bcd4d", 
                "md5": "2bc2c509e303146aefb16f8b58f4a3e8"
            }, 
            "sha256_digest": "0c7a79f9b41ef3ca56f33d5086fe50d75edb154608a03d751724cbc35a5bcd4d", 
            "size": 11576
        }
    ], 
    "error": "Could not fetch GitHub repository", 
    "_id": null, 
    "cheesecake_installability_id": null
}