|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+sandbox:
|
|
|
2
|
+ # Create a sandbox installation for playing around with oscar.
|
|
|
3
|
+ mkvirtualenv oscar
|
|
|
4
|
+ python setup.up develop
|
|
|
5
|
+ pip install -r requirements.txt
|
|
|
6
|
+ # Create database
|
|
|
7
|
+ sandbox/manage.py syncdb --noinput
|
|
|
8
|
+ sandbox/manage.py migrate
|
|
|
9
|
+ # Import some fixtures
|
|
|
10
|
+ sandbox/manage.py oscar_import_catalogue sandbox/data/books-catalogue.csv
|
|
|
11
|
+ sandbox/manage.py oscar_import_catalogue_images sandbox/data/books-images.tar.gz
|
|
|
12
|
+ sandbox/manage.py loaddata countries.json sandbox/fixtures/pages.json
|
|
|
13
|
+
|
|
|
14
|
+test:
|
|
|
15
|
+ ./runtests.py
|