Given that I've done EVERY step in Part 1 of this tutorial, I continue as follows. My project is called sofitel, for undisclosed reasons. Therefor a create a buildout called sofitel in my source code directory (~/development/buildouts). BTW, I'm following this tutorial on plone.org.
> paster create -t plone3_buildout sofitel
> cd sofitel
> python2.4 bootstrap.py
The next step is checking your buildout.cfg and running ./bin/buildout, and this is where I ran into trouble. What happened for me was that the simplejson v2.0.9 egg did not install properly, resulting in the buildout ending with an error. After searching for help on the internet for several seconds, I concluded that the best way forward was to install simplejson the non-egg way. Hence,
> wget http://pypi.python.org/packages/source/s/simplejson/simplejson-2.0.9.tar.gz#md5=af5e67a39ca3408563411d357e6d5e47
> tar xzf simplejson-2.0.9.tar.gz
> cd simplejson-2.0.9
> sudo python2.4 setup.py install
> sudo python2.4 setup.py clean
I realize that the setup.py steps above perhaps are not all necessary, but anyway they worked for me. What comes after this is;
> ./bin/buildout
Given that you're still in your /sofitel directory. Hope it works for you! =)

Inga kommentarer:
Skicka en kommentar