Archive

Archive for November, 2011

Satchmo installation

November 14th, 2011 5 comments

Been playing with Satchmo today. One issue I ran into, is I installed the Trunk version of Django, which Satchmo apparently isn’t compatible with; it apparently expects Django 1.3. The easiest way to get started with a very fresh install of Satchmo is to go through the following steps.

Setup and activate virtual environment:

~/projects$ virtualenv test
~/projects$ cd test
~/projects/test$ source bin/activate

Make sure you have PIL installed:

sudo apt-get install python-imaging

Install Satchmo:

~/projects/test$  hg clone https://chris1610@bitbucket.org/chris1610/satchmo
~/projects/test$ cd satchmo
~/projects/test/satchmo$ python setup.py install

Install all the other requirements:

~/projects/test/satchmo$ pip install -r scripts/requirements.txt

Setup sample store

/projects/test$ python source/satchmo/scripts/clonesatchmo.py
/projects/test$ cd store
/projects/test/store$ python manage.py runserver

Then just shoot your browser to:

http://localhost:8000
Categories: Django, Satchmo Tags: