Initial commit that merge both the front end and the API in the same repository

This commit is contained in:
Eliot Berriot 2017-06-23 23:00:42 +02:00
commit 76f98b74dd
285 changed files with 51318 additions and 0 deletions

13
api/demo/load-demo-data.sh Executable file
View file

@ -0,0 +1,13 @@
#! /bin/bash
echo "Loading demo data..."
python manage.py migrate --noinput
echo "Creating demo user..."
cat demo/demo-user.py | python manage.py shell --plain
echo "Importing demo tracks..."
python manage.py import_files "/music/**/*.ogg" --recursive --noinput