Confirmed users
1,209
edits
(→Setting up a Pootle development instance: virtualenv is not required) |
mNo edit summary |
||
| Line 4: | Line 4: | ||
Pootle's installation instructions are on the [http://translate.sourceforge.net/wiki/pootle/installation_1.3beta Pootle wiki]. Make sure to follow the (django-based) installation instructions, not the ones referring to jToolkit. | Pootle's installation instructions are on the [http://translate.sourceforge.net/wiki/pootle/installation_1.3beta Pootle wiki]. Make sure to follow the (django-based) installation instructions, not the ones referring to jToolkit. | ||
* have Python 2.4 | * have Python 2.4-2.6 installed (Mozilla is currently running 2.4 in production) | ||
* grab an svn checkout of the Pootle trunk: | * grab an svn checkout of the Pootle trunk: | ||
** <code>svn co https://translate.svn.sourceforge.net/svnroot/translate/src/trunk pootle</code> ... or | ** <code>svn co https://translate.svn.sourceforge.net/svnroot/translate/src/trunk pootle</code> ... or | ||
| Line 12: | Line 12: | ||
** <code>virtualenv --no-site-packages --python=path/to/python2.[4-6] pootle-env</code> | ** <code>virtualenv --no-site-packages --python=path/to/python2.[4-6] pootle-env</code> | ||
** <code>cd pootle-env/</code> | ** <code>cd pootle-env/</code> | ||
** <code> | ** <code>source bin/activate</code> | ||
* Install the [http://translate.sourceforge.net/wiki/pootle/installation_1.3beta# | * Install the [http://translate.sourceforge.net/wiki/pootle/installation_1.3beta#prerequisite_software prerequisites]. Some notes: | ||
** PyLucene and Xapian are not vital | ** 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: | ** 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: | ||