Avast ye landlubbers! Saleor be a Satchless store ye can fork.
-
Use
django-admin.pyto 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 installinstead.) -
Prepare the database:
$ saleor syncdb --allsaleoris a shortcut for runningpython manage.pyso 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
