Avast ye landlubbers! Saleor be a Satchless store ye can fork.
-
Use
django-admin.py
to start a new project using Saleor as template:$ django-admin.py startproject \ --template=https://github.com/mirumee/saleor/archive/master.zip myproject
-
Enter the directory:
$ cd myproject/
-
Install it in development mode:
$ python setup.py develop
(For production use
python setup.py install
instead.) -
Prepare the database:
$ saleor syncdb --all
saleor
is a shortcut for runningpython manage.py
so you can use it to execute all management commands.
Because of EU law regulations, Saleor will not use any tracking cookies by default. We do support server-side Google Analytics out of the box using Google Analytics Measurement Protocol. This is implemented using google-measurement-protocol and does not use cookies at the cost of not reporting things like geolocation and screen resolution.
To get it working you will need to set the GOOGLE_ANALYTICS_TRACKING_ID
in your settings file:
# settings.py
GOOGLE_ANALYTICS_TRACKING_ID = 'UA-123456-78'
Run the tests to make sure everything works:
$ python setup.py test