|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.57",
"split_keywords": [
"django",
"inte",
"africa",
"edc"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "d3c75ee0dc4d6f63633f00cb5205a391",
"sha256": "bf26b69c8a25bacb1ca3c79c1b7686f67f114f8125ed4b08bb9bd9fe2bad4116"
},
"downloads": -1,
"filename": "inte_edc-0.1.57-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d3c75ee0dc4d6f63633f00cb5205a391",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 443959,
"upload_time": "2020-11-24T03:37:16",
"upload_time_iso_8601": "2020-11-24T03:37:16.117901Z",
"url": "https://files.pythonhosted.org/packages/f4/5c/16715e7b72cd661592b04df3723a4fc77c21ca39e04a96894e8e82e40033/inte_edc-0.1.57-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2020-11-24 03:37:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": null,
"github_project": "inte-africa-trial",
"error": "Could not fetch GitHub repository",
"lcname": "inte-edc"
}