Skip to content

Commit

Permalink
Updated instructions for contributing, added dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
codeinthehole committed Jan 25, 2012
1 parent df8ea01 commit 8d34321
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
23 changes: 23 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,29 @@ sites to complex B2B sites rich in domain-specific business logic.

.. _`Read the docs`: http://django-oscar.readthedocs.org/en/latest/

Quick start
-----------

After forking, do the following::

mkvirtualenv oscar
git clone git@github.com/<username>/django-oscar.git
cd django-oscar
python setup.py develop
pip install -r testing-reqs.txt

You can run the test suite using::

./run-tests.py

You can browse a "sandbox" shop by doing the following::

cd sandbox
./manage.py syncdb --noinput
./manage.py import_catalogue data/books-catalogue.csv
./manage.py import_images data/book-images.tar.gz
./manage.py runserver

Credits
-------

Expand Down
4 changes: 1 addition & 3 deletions sandbox/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,7 @@

# Haystack settings
HAYSTACK_SITECONF = 'oscar.search_sites'
HAYSTACK_SEARCH_ENGINE = 'solr'
HAYSTACK_SOLR_URL = 'http://127.0.0.1:8080/solr'
HAYSTACK_INCLUDE_SPELLING = True
HAYSTACK_SEARCH_ENGINE = 'dummy'

# Oscar settings
from oscar.defaults import *
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
platforms=['linux'],
packages=find_packages(exclude=["*.tests"]),
install_requires=[
'django>=1.3',
'PIL',
'django-extra-views>=0.1.0',
'django-haystack>=1.2.0',
'django-treebeard>=1.6.1',
Expand Down

0 comments on commit 8d34321

Please sign in to comment.