This is application of privacy filter on Demo app for Privacy Server.
#####Setup basic environment
-
This demo app needs support of
postgresqland python site-packagerequests,flask,psycopg2. If you havepip, simply do$ pip install requests flask psycopg2Or simply
$ pip install -r requirement_app.txt -
Edit
config.pyto point the app to a server.
-
Run the original server at localhost with:
$ python app.py -
Run modified server at localhost with:
$ python extended_app.py
You will need local database set by psql to see dynamic interation on how this policy works:
-
Confirm that
psycopg2andpostgresqlis installed properly -
Please read and modify config_db.py and the run setup_db.py
-
To see query part, goto url
[base index]/doctorto submit a query action. The default base index ishttp://localhost:8000