This code is for a survey webapp that was used for the research behind the study 'Testing Human Ability to Detect "Deepfake" Images of Human Faces'.
To run the webapp, complete the following steps:
- Download the code
- Make sure Django is installed (
pip install django
) - Navigate to the location of the
manage.py
file (cd ./survey1/
) - Run
python manage.py makemigrations
,python manage.py migrate
, andpython manage.py populate_imgs
- Now the webapp should be ready to run: serve it to
127.0.0.1:8000
by runningpython manage.py runserver
- Navigate to
127.0.0.1
(which will redirect to127.0.0.1:8000/surveyapp/intro.html
) in any web browser to test the survey