Skip to main content

EFFECT Trial EDC (https://www.isrctn.com/ISRCTN30579828)

Project description

pypi actions codecov downloads

EFFECT Edc

effect_logo

The EFFECT Trial

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

(EFFECT - Efficacy of Flucytosine and Fluconazole as Early Cryptococcal Treatment)

https://www.isrctn.com/ISRCTN30579828

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

Made with Django

Installation

To setup and run a test server locally

You’ll need mysql. Create the database

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

Create a virtualenv, clone the main repo and checkout master

conda create -n edc python=3.11
conda activate edc

Clone the main repo and checkout master

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

Copy the test environment file

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.

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

Continue with the installation

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

cd ~/projects/effect-edc
git checkout main
python manage.py createsuperuser
python manage.py runserver

Login:

http://localhost:8000

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

effect-edc-0.1.46.tar.gz (446.7 kB view hashes)

Uploaded source

Built Distribution

effect_edc-0.1.46-py3-none-any.whl (510.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page