Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.1 KB

README.md

File metadata and controls

43 lines (32 loc) · 1.1 KB

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:

[email protected] 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