Upgrade to Cilantro 2.2.34

Signed-off-by: Don Naegely <naegelyd@email.chop.edu>
Remove obsolete run-tests.sh

Signed-off-by: Don Naegely <naegelyd@email.chop.edu>
Merge pull request #70 from cbmi/remove-stale-file

Remove obsolete run-tests.sh
Merge pull request #69 from cbmi/cilantro-2.2.34

Upgrade to Cilantro 2.2.34
Added several tests and run with selenium discover

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
Merge pull request #60 from cbmi/integration_test

Merge Integration Test into Master
Alternate deployment setup

Basing the docker image on internal django_baseimage, notification on
README that external deployment is temporarily broken, making required
python packages less redundant and more clear in Dockerfile and
requirements.txt, making container startup take advantage of my_init and
runit, streamlining and simplifying settings.

Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
Tweaking service & my_init.d copies in Dockerfile

Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
Move app/run.sh to app/run

This should fix the runit problem.

Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
Add siteauth requirement

Add django-siteauth to requirements.txt and installation with
Dockerfile, add chopauth and registration to installed apps, comment out
the `manage.py migrate` from application_init which is failing for
unknown reason.

Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
Fix modeltree base model

While implementing new settings, the base model was mistakenly set to
omop.Person when it should be omop_harvest.Person. This is now fixed.

Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
Reverse previous removal of syncdb step

Now that the FORCE_SCRIPT_NAME slash option injection issue has been
fixed and database connections seem to be working much better, let's see
if this works again too.

Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
Debugging syncdb

Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
Add postgresql client installation to Dockerfile

This is another attempt to fix the syncdb issue.

Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
Add `make build` step to init script

Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
Remove optimized js dir from .gitignore

The `make build` step from the last commit requires node, so rather than
require that on the deployment image, I'm choosing to build and version
control the optimized js dir. So the `make build` step is removed from
the init script and the optimized js dir is added to the repo.

Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
Add ALLOWED_HOSTS setting

Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
Add multi-db support

In order to separate the omop tables from the harvest tables, multi-db
support is added and configured. This involved adding a db router and
changing the settings. As a matter of tidiness, the unused local.py
settings file is removed.

Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
Added several tests and run with selenium discover

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
Run Headless Tests command. Requires small test database

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>