Disclaimer: This README is a guide on how to set up the project. For more information on how everything works, there are multiple others README files in the different server folders. Also there are comments throughout the code and files including documentations on the tests that were done.
-
Install Docker Desktop
Download DockerNote: You do not need to create a Docker account. In fact should there be problems, it can help to log out from your account
-
Install Windows Subsystem for Linux (WSL)
Follow the WSL Installation Guide if you haven't already. -
Check out git repository
django oauth project
-
Open a terminal and navigate to the project folder:
cd path/to/django_with_oauth -
Build and run the Docker containers:
docker-compose up --build -
In a second terminal window, navigate to the same folder and run the following commands:
docker-compose exec resource_server python manage.py makemigrations docker-compose exec resource_server python manage.py migrate docker-compose exec resource_server python manage.py seed_photos
-
Open your browser and go to:
👉 https://privacyengproj.ngrok.app/client/ -
Press
Login -
Choose Your Preferred Privacy Levels:
- Numerical:
None,Hourly,8-Hourly,Daily - Images:
None,Mild,Medium,Heavy - Text:
None,Anonymize,Remove
- Numerical:
-
Click
Continue -
Authenticate with the following credentials:
- Username:
test_1 - Password:
rootroot
- Username:
-
Click
Loginand thenAuthorize
The data will now be served with the selected privacy transformations applied.