Verbatim:Development/Dev Instance: Difference between revisions

no edit summary
m (added note about installing lxml)
No 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.5 installed
* have Python 2.5/2.6 installed
* 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 10: Line 10:
** if you are using <code>git-svn</code>, make sure to generate an empty <code>dbs</code> directory, as git won't pick up empty directories [http://sourceforge.net/mailarchive/forum.php?thread_name=4A37D896.3070403%40mozilla.com&forum_name=translate-devel]
** if you are using <code>git-svn</code>, make sure to generate an empty <code>dbs</code> directory, as git won't pick up empty directories [http://sourceforge.net/mailarchive/forum.php?thread_name=4A37D896.3070403%40mozilla.com&forum_name=translate-devel]
* create a clean Python environment for the application, using [http://pypi.python.org/pypi/virtualenv virtualenv] (you don't want to install all required libs in your global python directory):
* create a clean Python environment for the application, using [http://pypi.python.org/pypi/virtualenv virtualenv] (you don't want to install all required libs in your global python directory):
** <code>virtualenv --no-site-packages --python=path/to/python2.5 pootle-env</code>
** <code>virtualenv --no-site-packages --python=path/to/python2.[5|6] pootle-env</code>
** <code>cd pootle-env/</code>
** <code>cd pootle-env/</code>
** <code>. bin/activate</code>
** <code>. bin/activate</code>
Confirmed users
1,016

edits