Initial commit that merge both the front end and the API in the same repository
This commit is contained in:
commit
76f98b74dd
285 changed files with 51318 additions and 0 deletions
13
api/demo/load-demo-data.sh
Executable file
13
api/demo/load-demo-data.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue