This repository contains the source code of the taxonomy experiment in Freesound.
- Clone the repo and make the Django migrations for creating the models.
- To import the necessary data, you would have to request the files that have the available classes and the sounds data (
class_choices.csv
andsounds_for_experiment.csv
). You can import them by runningpython manage.py import_classes
andpython manage.py import_sounds
respectively.
-
Copy
class_choices.csv
andsounds_for_experiment.csv
toclassurvey/data/
folder. -
docker-compose build
-
docker-compose run --rm app python manage.py migrate
-
docker-compose run --rm app python manage.py import_classes /code/classurvey/data/class_choices.csv
-
docker-compose run --rm app python manage.py import_sounds /code/classurvey/data/sounds_for_experiment.csv
-
docker-compose run --rm app python manage.py createsuperuser
-
docker-compose up
-
Open
localhost:8500/
to see the experiment page.
If you want to run an interactive python shell:
docker-compose run --rm app python manage.py shell_plus