Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (24 sloc) 1.02 KB
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
Jump to Line
Something went wrong with that request. Please try again.