|
|
@@ -4,13 +4,22 @@ Setting up the development environment
|
|
4
|
4
|
|
|
5
|
5
|
Fork the repo and run::
|
|
6
|
6
|
|
|
7
|
|
- git clone git@github.com:<username>/django-oscar.git
|
|
8
|
|
- cd django-oscar
|
|
9
|
|
- mkvirtualenv oscar # using virtualenvwrapper
|
|
10
|
|
- make install
|
|
|
7
|
+ $ git clone git@github.com:<username>/django-oscar.git
|
|
|
8
|
+ $ cd django-oscar
|
|
|
9
|
+ $ mkvirtualenv oscar # using virtualenvwrapper
|
|
|
10
|
+ $ make install
|
|
11
|
11
|
|
|
12
|
12
|
The :doc:`sandbox </internals/sandbox>` site can be used to test our changes in
|
|
13
|
13
|
a browser. It is easily created with ``make sandbox``.
|
|
|
14
|
+
|
|
|
15
|
+Creating migrations
|
|
|
16
|
+===================
|
|
|
17
|
+
|
|
|
18
|
+As the sandbox is a vanilla Oscar site, it is what we use to build migrations
|
|
|
19
|
+against::
|
|
|
20
|
+
|
|
|
21
|
+ $ make sandbox
|
|
|
22
|
+ $ sites/sandbox/manage.py schemamigration $YOURAPP --auto
|
|
14
|
23
|
|
|
15
|
24
|
Writing LESS/CSS
|
|
16
|
25
|
================
|