Difference between revisions of "Parsoid installation"

From Biowikifarm Metawiki
Jump to: navigation, search
(No difference)

Revision as of 12:11, 27 May 2015

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 
make install

(will install in /usr/local/lib, /usr/local/include)

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/parsoid
npm install