Coder Social home page Coder Social logo

saleor's Introduction

Saleor

Avast ye landlubbers! Saleor be a Satchless store ye can fork.

Build Status

Usage

  1. 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
    
  2. Enter the directory:

    $ cd myproject/
    
  3. Install it in development mode:

    $ python setup.py develop
    

    (For production use python setup.py install instead.)

  4. Prepare the database:

    $ saleor syncdb --all
    

    saleor is a shortcut for running python manage.py so you can use it to execute all management commands.

Google Analytics

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'

Testing changes

Run the tests to make sure everything works:

$ python setup.py test

saleor's People

Contributors

mociepka avatar patrys avatar marekbrzoska avatar artursmet avatar bogdal avatar zauddelig avatar mindflayer avatar derenio avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.