META Trial EDC (http://www.isrctn.com/ISRCTN76157257)
Project description
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
See also https://github.com/clinicedc/edc
Installation
To setup and run a test server locally
You’ll need mysql and Redis. Create the database
mysql -Bse 'create database inte character set utf8;'
Create and activate a virtual environment
conda create -n edc python=3.9
conda activate edc
Clone the main repo and checkout master
mkdir ~/app
cd ~/app
git clone 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 -U -r requirements.txt
python manage.py migrate
python manage.py import_randomization_list
python manage.py import_holidays
Ensure Redis is running
$ redis-cli ping
PONG
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for inte_edc-0.1.66-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 899a020fc1f2f69a3d087a3e566af716db50978dbc4a0827ea3a3213953455d2 |
|
MD5 | 59f23968d5311e9a8f9487c2bbb35887 |
|
BLAKE2b-256 | 282466de9e168b272675781e351f19640c402334c27a466b0bcd520632a88a1b |