MOCCA (ext) Trial EDC
Project description
mocca-edc
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. Create the database
mysql -Bse 'create database mocca 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/mocca-trial/mocca-edc.git
cd ~/app/mocca-edc
git checkout master
Copy the test environment file
cd ~/app/mocca-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/mocca-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/mocca-edc
git checkout master
python manage.py createsuperuser
python manage.py runserver
Login:
localhost:8000
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mocca_edc-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mocca_edc-0.1.0-py3-none-any.whl
- Upload date:
- Size: 278.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0.post20201006 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a139e5d304aa424daced5342f6f9e2094ed2df683d79b47c3c1e16f3faff42a6
|
|
| MD5 |
48946ed02999c530389866e6846275f4
|
|
| BLAKE2b-256 |
ea0d8a571ebd5c1f29fcc10d58cf578abadb1c39368ae42ed0c1ebd8f0dca4cf
|