OpenTrials Multi-lingual Clinical Trials Registry Platform
JavaScript Python Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
opentrials
README
bootstrap.py
buildout.cfg
requirements.txt
setup.py

README

This is the Clinical Trials Registration System developed by BIREME/PAHO/WHO
with the Brazilian Ministry of Health (Ministério da Saúde/DECIT), Fiocruz 
(Fundação Oswaldo Cruz/ICICT) and the Pan American Health Organization
(PAHO/WHO).

The project Web site, documentation wiki and issue tracker are at:

http://reddes.bvsalud.org/projects/clinical-trials

The main Subversion repository is at:

http://svn.reddes.bvsalud.org/clinical-trials

There is also a git-svn mirror at:

http://github.com/bireme/opentrials

Dependencies
------------

- Python 2.4 or higher. Preference for 2.6
- Django 1.2 or higher
- Some of database wrappers, like psycopg2 or MySQLDb
- Python Imaging Library ( http://www.pythonware.com/products/pil/ )
- django-registration
- django-rosetta
- south

We suggest you read a more detailed page at:

    http://reddes.bvsalud.org/projects/clinical-trials/wiki/HowToInstall

zc.buildout
-----------

This package helps on the deploy process, because installs depended packages on their required
versions. Helps also to find good solutions for tests, continuous integration and others.

Before all you must install the script "raminelrecipe" from::

    git clone git://github.com/marinho/raminel-recipe.git
    cd raminel-recipe
    sudo python setup.py install

"raminelrecipe" is just an extension of "djangorecipe" that changes the way of set the project
'settings' module, ignoring the project name (instead of set it, on original version), because
some projects do not use the project as the root module.

After that::

    python bootstrap.py
    ./bin/buildout

.. note::
    We used the recipe "djangorecipe" to help on Django's projeto deploy. So, to run management
    commands, you have to replace the old ``python manage.py`` for ``./bin/django/``.
    
    Examples: ./bin/django migrate; ./bin/django runserver

    There is also a WSGI script automatically created in ./bin/ directory that should be used
    by Apache or Lighttpd (or another web server).

Alternate Install
-----------------

Use the pip requirements file 

    pip install -r requirements.txt