Difference between revisions of "Parsoid installation"
From Biowikifarm Metawiki
(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/ ...") |
|||
Line 11: | Line 11: | ||
./configure | ./configure | ||
make | make | ||
+ | make install | ||
+ | (will install in /usr/local/lib, /usr/local/include) | ||
Get the Parsoid service source: | Get the Parsoid service source: | ||
Line 17: | Line 19: | ||
Install nodejs parsoid dependencies | Install nodejs parsoid dependencies | ||
− | cd /usr/local/src/ | + | cd /usr/local/src/parsoid |
+ | npm install |
Revision as of 12:10, 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