Verbatim:Development/Dev Instance
Jump to navigation
Jump to search
Verbatim » Development / Dev Instance
Setting up a Pootle development instance
Pootle's installation instructions are on the Pootle wiki. Make sure to follow the (django-based) installation instructions, not the ones referring to jToolkit.
- have Python 2.5 installed
- grab an svn checkout of the Pootle trunk:
svn co https://translate.svn.sourceforge.net/svnroot/translate/src/trunk pootle... orgit svn clone -Ttrunk https://translate.svn.sourceforge.net/svnroot/translate/src/ pootle- if you are using
git-svn, make sure to generate an emptydbsdirectory, as git won't pick up empty directories [1]
- create a clean Python environment for the application, using virtualenv (you don't want to install all required libs in your global python directory):
virtualenv --no-site-packages --python=path/to/python2.5 pootle-envcd pootle-env/. bin/activate
- Install the pre-requisites. Some notes:
- PyLucene and Xapian are not vital
- The translate toolkit is part of the Pootle project too, and while it comes with an svn checkout of the trunk you still need to install it:
cd pootlepython setup.py install