Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 26 lines (24 sloc) 1.045 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
sandbox:
# Create a sandbox installation for playing around with oscar.
mkvirtualenv oscar
python setup.up develop
pip install -r requirements.txt
# Create database
sandbox/manage.py syncdb --noinput
sandbox/manage.py migrate
# Import some fixtures
sandbox/manage.py oscar_import_catalogue sandbox/data/books-catalogue.csv
sandbox/manage.py oscar_import_catalogue_images sandbox/data/books-images.tar.gz
sandbox/manage.py loaddata countries.json sandbox/fixtures/pages.json

test:
./runtests.py

i18n:
# Create the .po files used for i18n
cd oscar; \
../sandbox/manage.py makemessages --ignore=sandbox/ --locale=de; \
../sandbox/manage.py makemessages --ignore=sandbox/ --locale=fr; \
../sandbox/manage.py makemessages --ignore=sandbox/ --locale=pl; \
../sandbox/manage.py makemessages --ignore=sandbox/ --locale=ru; \
../sandbox/manage.py makemessages --ignore=sandbox/ --locale=es; \
../sandbox/manage.py makemessages --ignore=sandbox/ --locale=it; \
../sandbox/manage.py makemessages --ignore=sandbox/ --locale=da
Something went wrong with that request. Please try again.