Verbatim:Deployment: Difference between revisions

Jump to navigation Jump to search
Line 17: Line 17:


As the apache user, pick a dir where you want to deploy Pootle (pootle_dir), then:
As the apache user, pick a dir where you want to deploy Pootle (pootle_dir), then:
* <code>cd pootle_dir</code>
 
* <code>virtualenv pootle_env</code>
* Create and activate a virtualenv
* <code>cd pootle_env/bin</code>
** <code>cd pootle_dir</code>
* <code>. activate</code>
** <code>virtualenv --no-site-packages pootle_env</code>
** <code>. pootle_env/bin/activate</code>
* Install all required packages using <code>pip</code>
** <code>wget .../requirements.txt</code> (from github)
** <code>pip -E pootle_env ...</code>
* Download and extract Pootle itself (from the [http://translate.sourceforge.net/snapshots/Pootle-1.3.0-beta4/ 1.3.0-beta4 snapshot directory]) into pootle_env
 
Set up Apache and mod_python to properly run Pootle
* <code>wget .../modpython_wrapper.py</code> (from github); chmod +x it
* <code>wget .../modpython_wrapper.py</code> (from github); chmod +x it


== Configuration ==
== Configuration ==
Confirmed users
1,209

edits

Navigation menu