Parsoid installation

From Biowikifarm Metawiki
Revision as of 11:57, 22 May 2015 by Alvaro Ortiz-Troncoso (Talk | contribs) (Created page with "see: http://www.mediawiki.org/wiki/Parsoid/Developer_Setup Check that nodejs is the right version: nodejs --version It should be >0.10. If it's not do: cd /usr/local/src/ ...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

see: http://www.mediawiki.org/wiki/Parsoid/Developer_Setup

Check that nodejs is the right version:

nodejs --version

It should be >0.10. If it's not do:

cd /usr/local/src/
git clone https://github.com/joyent/node.git
cd node

do "git tag" and select the latest version (here v0.12.3). Then build it:

git checkout v0.12.3
./configure
make 

Get the Parsoid service source:

cd /usr/local/src/
git clone https://gerrit.wikimedia.org/r/p/mediawiki/services/parsoid

Install nodejs parsoid dependencies

cd /usr/local/src/