Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 551e743c5e
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (13 sloc) 0.43 kB
#!/bin/bash
DATABASE=db.sqlite
rm $DATABASE
./manage.py syncdb --noinput
./manage.py migrate
echo "Loading fixtures"
./manage.py loaddata countries.json
echo "Importing products"
./manage.py oscar_import_catalogue data/books-catalogue.csv
echo "Importing Images"
./manage.py oscar_import_catalogue_images data/books-images.tar.gz
echo "Creating superuser"
./manage.py createsuperuser --username=admin --email=admin@test.com
Jump to Line
Something went wrong with that request. Please try again.