/iam-identity-pdp

Identity.uw personal data preferences

Primary LanguagePython

Build Status Coverage Status

#Personal Data Preferences

##Development

pdp-site/settings.py is configured to run with mock data. Currently only javerage and user1e work as user ids. To run as javerage you can declare REMOTE_USER at startup such as the following:

REMOTE_USER=javerage@washington.edu python manage.py runserver

##Running python tests

###From the command line In your project directory

pip install tox
tox

###From within PyCharm Add a new py.test configuration with the following settings...

Target: /home/you/projects/pdp/pdp
Options: --pep8
Environment variables: DJANGO_SETTINGS_MODULE=pdp-site.settings
Python interpreter: Your pdp virtualenv
Working directory: /home/you/projects/pdp

##Deploying Example deploy to a docker instance...

cd ansible
./install.sh rivera_docker