effect-edc


Nameeffect-edc JSON
Version 0.1.13 PyPI version JSON
download
home_pagehttps://github.com/clinicedc/effect-edc
SummaryEFFECT Trial EDC (https://www.isrctn.com/ISRCTN30579828)
upload_time2022-06-25 11:49:09
maintainer
docs_urlNone
authorErik van Widenfelt
requires_python>=3.9
licenseGPL license, see LICENSE
keywords django edc effect edc clinicedc clinical trials
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            |pypi| |actions| |codecov| |downloads|


EFFECT Edc
----------

Fluconazole plus flucytosine vs. fluconazole alone for cryptococcal antigen-positive patients identified through screening:
A phase III randomised controlled trial

The EFFECT Trial

https://www.isrctn.com/ISRCTN30579828

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

|django|

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

To setup and run a test server locally

You'll need mysql. Create the database

.. code-block:: bash

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


Create a virtualenv, clone the main repo and checkout master

.. code-block:: bash

  conda create -n edc python=3.9
  conda activate edc


Clone the main repo and checkout master

.. code-block:: bash

  mkdir ~/projects
  cd projects
  https://github.com/effect-trial/effect-edc.git
  cd ~/projects/effect-edc
  git checkout main


Copy the test environment file

.. code-block:: bash

  cd ~/projects/effect-edc
  git checkout main
  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/effect


Continue with the installation

.. code-block:: bash

  cd ~/projects/effect-edc
  git checkout main
  pip install .
  pip install -U -r requirements.txt
  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 ~/projects/effect-edc
  git checkout main
  python manage.py createsuperuser
  python manage.py runserver


Login::

  http://localhost:8000


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

.. |actions| image:: https://github.com/effect-trial/effect-edc/workflows/build/badge.svg?branch=develop
  :target: https://github.com/effect-trial/effect-edc/actions?query=workflow:build

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

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

.. |django| image:: https://www.djangoproject.com/m/img/badges/djangomade124x25.gif
   :target: http://www.djangoproject.com/
   :alt: Made with Django

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/clinicedc/effect-edc",
    "name": "effect-edc",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "django edc EFFECT EDC,clinicedc,clinical trials",
    "author": "Erik van Widenfelt",
    "author_email": "ew2789@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/83/05/95f4701701b1055545dc674a1a57eac2c32018be10b0eb90282f5092c9b5/effect-edc-0.1.13.tar.gz",
    "platform": null,
    "description": "|pypi| |actions| |codecov| |downloads|\n\n\nEFFECT Edc\n----------\n\nFluconazole plus flucytosine vs. fluconazole alone for cryptococcal antigen-positive patients identified through screening:\nA phase III randomised controlled trial\n\nThe EFFECT Trial\n\nhttps://www.isrctn.com/ISRCTN30579828\n\nSee also https://github.com/clinicedc/edc\n\n|django|\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 effect 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.9\n  conda activate edc\n\n\nClone the main repo and checkout master\n\n.. code-block:: bash\n\n  mkdir ~/projects\n  cd projects\n  https://github.com/effect-trial/effect-edc.git\n  cd ~/projects/effect-edc\n  git checkout main\n\n\nCopy the test environment file\n\n.. code-block:: bash\n\n  cd ~/projects/effect-edc\n  git checkout main\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/effect\n\n\nContinue with the installation\n\n.. code-block:: bash\n\n  cd ~/projects/effect-edc\n  git checkout main\n  pip install .\n  pip install -U -r requirements.txt\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 ~/projects/effect-edc\n  git checkout main\n  python manage.py createsuperuser\n  python manage.py runserver\n\n\nLogin::\n\n  http://localhost:8000\n\n\n.. |pypi| image:: https://img.shields.io/pypi/v/effect-edc.svg\n    :target: https://pypi.python.org/pypi/effect-edc\n\n.. |actions| image:: https://github.com/effect-trial/effect-edc/workflows/build/badge.svg?branch=develop\n  :target: https://github.com/effect-trial/effect-edc/actions?query=workflow:build\n\n.. |codecov| image:: https://codecov.io/gh/effect-trial/effect-edc/branch/develop/graph/badge.svg\n  :target: https://codecov.io/gh/effect-trial/effect-edc\n\n.. |downloads| image:: https://pepy.tech/badge/effect-edc\n   :target: https://pepy.tech/project/effect-edc\n\n.. |django| image:: https://www.djangoproject.com/m/img/badges/djangomade124x25.gif\n   :target: http://www.djangoproject.com/\n   :alt: Made with Django\n",
    "bugtrack_url": null,
    "license": "GPL license, see LICENSE",
    "summary": "EFFECT Trial EDC (https://www.isrctn.com/ISRCTN30579828)",
    "version": "0.1.13",
    "split_keywords": [
        "django edc effect edc",
        "clinicedc",
        "clinical trials"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "0d4e7890ae0b418eb1b4e4d0f7058724",
                "sha256": "283effa72fe98b042771b7ad47dd1e0097d55c7bf702eab0b0cf8f9d5445b20f"
            },
            "downloads": -1,
            "filename": "effect_edc-0.1.13-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0d4e7890ae0b418eb1b4e4d0f7058724",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 391810,
            "upload_time": "2022-06-25T11:49:05",
            "upload_time_iso_8601": "2022-06-25T11:49:05.883729Z",
            "url": "https://files.pythonhosted.org/packages/0a/f1/04becc899f56f0f9ecfe31914526b4d0141f4b04d815e919c28de2927ed6/effect_edc-0.1.13-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "c4296726f25fcf5f6cfa1a33d42ee2e5",
                "sha256": "50626835163346b7c4913f1eb7047ee883fa689865615c8823abcfee10ef720f"
            },
            "downloads": -1,
            "filename": "effect-edc-0.1.13.tar.gz",
            "has_sig": false,
            "md5_digest": "c4296726f25fcf5f6cfa1a33d42ee2e5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 295952,
            "upload_time": "2022-06-25T11:49:09",
            "upload_time_iso_8601": "2022-06-25T11:49:09.083452Z",
            "url": "https://files.pythonhosted.org/packages/83/05/95f4701701b1055545dc674a1a57eac2c32018be10b0eb90282f5092c9b5/effect-edc-0.1.13.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-06-25 11:49:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "clinicedc",
    "github_project": "effect-edc",
    "lcname": "effect-edc"
}
        
Elapsed time: 0.84694s