Skip to main content

META Trial EDC (http://www.isrctn.com/ISRCTN76157257)

Project description

pypi travis codecov downloads Updates

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

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

Create a virtualenv, clone the main repo and checkout master

conda create -n edc python=3.8
conda activate edc

Clone the main repo and checkout master

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

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.

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

Continue with the installation

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

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

Project details


Download files

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

Files for inte-edc, version 0.1.12
Filename, size File type Python version Upload date Hashes
Filename, size inte_edc-0.1.12-py3-none-any.whl (242.4 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page