Difference between revisions of "Parsoid installation"
From Biowikifarm Metawiki
m (added Category:Visual Editor using HotCat) |
|||
Line 23: | Line 23: | ||
You can now [[Migrate_an_existing_Wiki_to_MediaWiki_1.26wmf5_and_Visual_Editor#Parsoid|configure parsoid]] to point to your wiki. | You can now [[Migrate_an_existing_Wiki_to_MediaWiki_1.26wmf5_and_Visual_Editor#Parsoid|configure parsoid]] to point to your wiki. | ||
+ | [[Category:Visual Editor]] |
Revision as of 22:25, 23 December 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
You can now configure parsoid to point to your wiki.