dimagi/carehq
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ASHand Overall project structure. Installation for a developer environment: Code init: $ git submodule init $ git submodule update Prerequisites: $ pip install -r requirements.txt $ pip install -r requirements-dev.txt Non PIP Prerequisite: Keyczar: http://code.google.com/p/keyczar/downloads/list Update Settings: settings.py - the basic django settings for the ashand project, which can now be run as a pure django project. settings_default.py - Additional specific settings that you should consider setting. not visible are settings_local.py which you should set for your specific settings. These are ignored by git. Syncdb: $ python manage.py syncdb Create a Site: $ python manage.py shell > from django.contrib.sites import Site > site.objects.create(domain="localhost:8000", name="localhost") > exit() If you want to do some basic testing of patients and a demo setup, run these commands: $ python manage.py runscript loadfixtures #register basic static content into the database $ python manage.py register_categories #registers the categories already baked in via the CaseRegistry framework $ python manage.py runscript random_load #generates some basic case information for review It'll prompt you to blow away your database, only do this if you want to populate the db with lots of dummy data. The providers in the system will largely be comprised of Star Trek doctors and nurses. All patients will be comprised of other television characters. apps/ Django apps that you will make lib/ Third party libraries (presumably python) that you'll need to reference