inte-edc


Nameinte-edc JSON
Version 0.1.31 PyPI version JSON
download
home_pagehttps://github.com/inte-africa-trial/inte-edc
SummaryMETA Trial EDC (http://www.isrctn.com/ISRCTN76157257)
upload_time2020-07-13 19:39:07
maintainer
docs_urlNone
authorErik van Widenfelt
requires_python>=3.7
licenseGPL license, see LICENSE
keywords django inte africa edc
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            |pypi| |travis| |codecov| |downloads| |pyup|



inte-edc
--------


Integrating HIV, Diabetes and Hypertension Services in Africa: A Cluster - Randomised Trial in Tanzania and Uganda: INTE Africa Trial


Liverpool School of Tropical Medicine


http://www.isrctn.com/


See also https://github.com/clinicedc/edc



Installation
------------

To setup and run a test server locally

You'll need mysql. Create the database

.. code-block:: bash

  mysql -Bse 'create database inte character set utf8;'


Create a virtualenv, clone the main repo and checkout master

.. code-block:: bash

  conda create -n edc python=3.8
  conda activate edc


Clone the main repo and checkout master

.. code-block:: bash

  mkdir ~/app
  cd app
  https://github.com/inte-africa-trial/inte-edc.git
  cd ~/app/inte-edc
  git checkout master


Copy the test environment file

.. code-block:: bash

  cd ~/app/inte-edc
  git checkout master
  cp .env.tests .env


Edit the environment file (.env) to include your mysql password in the ``DATABASE_URL``.

.. code-block:: bash

  # look for and update this line
  DATABASE_URL=mysql://user:password@127.0.0.1:3306/inte


Continue with the installation

.. code-block:: bash

  cd ~/app/inte-edc
  git checkout master
  pip install .
  pip install -U -r requirements
  python manage.py migrate
  python manage.py import_randomization_list
  python manage.py import_holidays


Create a user and start up `runserver`

.. code-block:: bash

  cd ~/app/inte-edc
  git checkout master
  python manage.py createsuperuser
  python manage.py runserver


Login::

  localhost:8000


Once logged in, go to you user account and update your group memberships. As a power user add yourself to the following

* ACCOUNT_MANAGER
* ADMINISTRATION
* AE 
* AE_REVIEW
* CLINIC
* DATA_MANAGER
* DATA_QUERY
* EVERYONE
* EXPORT
* LAB
* LAB_VIEW
* PHARMACY
* PII
* RANDO
* REVIEW
* SCREENING
* TMG
* UNBLINDING_REQUESTORS
* UNBLINDING_REVIEWERS

.. |pypi| image:: https://img.shields.io/pypi/v/inte-edc.svg
    :target: https://pypi.python.org/pypi/inte-edc

.. |travis| image:: https://travis-ci.com/inte-africa-trial/inte-edc.svg?branch=develop
    :target: https://travis-ci.com/inte-africa-trial/inte-edc

.. |codecov| image:: https://codecov.io/gh/inte-africa-trial/inte-edc/branch/develop/graph/badge.svg
  :target: https://codecov.io/gh/inte-africa-trial/inte-edc

.. |downloads| image:: https://pepy.tech/badge/inte-edc
   :target: https://pepy.tech/project/inte-edc

.. |pyup| image:: https://pyup.io/repos/github/inte-africa-trial/inte-edc/shield.svg
    :target: https://pyup.io/repos/github/inte-africa-trial/inte-edc/
    :alt: Updates



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/inte-africa-trial/inte-edc",
    "name": "inte-edc",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "django inte africa EDC",
    "author": "Erik van Widenfelt",
    "author_email": "ew2789@gmail.com",
    "download_url": "",
    "platform": "",
    "description": "|pypi| |travis| |codecov| |downloads| |pyup|\n\n\n\ninte-edc\n--------\n\n\nIntegrating HIV, Diabetes and Hypertension Services in Africa: A Cluster - Randomised Trial in Tanzania and Uganda: INTE Africa Trial\n\n\nLiverpool School of Tropical Medicine\n\n\nhttp://www.isrctn.com/\n\n\nSee also https://github.com/clinicedc/edc\n\n\n\nInstallation\n------------\n\nTo setup and run a test server locally\n\nYou'll need mysql. Create the database\n\n.. code-block:: bash\n\n  mysql -Bse 'create database inte character set utf8;'\n\n\nCreate a virtualenv, clone the main repo and checkout master\n\n.. code-block:: bash\n\n  conda create -n edc python=3.8\n  conda activate edc\n\n\nClone the main repo and checkout master\n\n.. code-block:: bash\n\n  mkdir ~/app\n  cd app\n  https://github.com/inte-africa-trial/inte-edc.git\n  cd ~/app/inte-edc\n  git checkout master\n\n\nCopy the test environment file\n\n.. code-block:: bash\n\n  cd ~/app/inte-edc\n  git checkout master\n  cp .env.tests .env\n\n\nEdit the environment file (.env) to include your mysql password in the ``DATABASE_URL``.\n\n.. code-block:: bash\n\n  # look for and update this line\n  DATABASE_URL=mysql://user:password@127.0.0.1:3306/inte\n\n\nContinue with the installation\n\n.. code-block:: bash\n\n  cd ~/app/inte-edc\n  git checkout master\n  pip install .\n  pip install -U -r requirements\n  python manage.py migrate\n  python manage.py import_randomization_list\n  python manage.py import_holidays\n\n\nCreate a user and start up `runserver`\n\n.. code-block:: bash\n\n  cd ~/app/inte-edc\n  git checkout master\n  python manage.py createsuperuser\n  python manage.py runserver\n\n\nLogin::\n\n  localhost:8000\n\n\nOnce logged in, go to you user account and update your group memberships. As a power user add yourself to the following\n\n* ACCOUNT_MANAGER\n* ADMINISTRATION\n* AE \n* AE_REVIEW\n* CLINIC\n* DATA_MANAGER\n* DATA_QUERY\n* EVERYONE\n* EXPORT\n* LAB\n* LAB_VIEW\n* PHARMACY\n* PII\n* RANDO\n* REVIEW\n* SCREENING\n* TMG\n* UNBLINDING_REQUESTORS\n* UNBLINDING_REVIEWERS\n\n.. |pypi| image:: https://img.shields.io/pypi/v/inte-edc.svg\n    :target: https://pypi.python.org/pypi/inte-edc\n\n.. |travis| image:: https://travis-ci.com/inte-africa-trial/inte-edc.svg?branch=develop\n    :target: https://travis-ci.com/inte-africa-trial/inte-edc\n\n.. |codecov| image:: https://codecov.io/gh/inte-africa-trial/inte-edc/branch/develop/graph/badge.svg\n  :target: https://codecov.io/gh/inte-africa-trial/inte-edc\n\n.. |downloads| image:: https://pepy.tech/badge/inte-edc\n   :target: https://pepy.tech/project/inte-edc\n\n.. |pyup| image:: https://pyup.io/repos/github/inte-africa-trial/inte-edc/shield.svg\n    :target: https://pyup.io/repos/github/inte-africa-trial/inte-edc/\n    :alt: Updates\n\n\n",
    "bugtrack_url": null,
    "license": "GPL license, see LICENSE",
    "summary": "META Trial EDC (http://www.isrctn.com/ISRCTN76157257)",
    "version": "0.1.31",
    "split_keywords": [
        "django",
        "inte",
        "africa",
        "edc"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "5e071b7a465c76135945e1e877a6c107",
                "sha256": "c5e7a8b4576943639832ea455d432354fca12b6a8340b9dd0604fe17fd830a16"
            },
            "downloads": -1,
            "filename": "inte_edc-0.1.31-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5e071b7a465c76135945e1e877a6c107",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 298008,
            "upload_time": "2020-07-13T19:39:07",
            "upload_time_iso_8601": "2020-07-13T19:39:07.968127Z",
            "url": "https://files.pythonhosted.org/packages/de/6b/72cd553523f138e31188b5221f90b1409df5eefafd9ab2fc83d732d0ffc2/inte_edc-0.1.31-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-07-13 19:39:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": null,
    "github_project": "inte-africa-trial",
    "error": "Could not fetch GitHub repository",
    "lcname": "inte-edc"
}
        
Elapsed time: 0.15134s