Changes

From SME Server
Jump to navigationJump to search
543 bytes added ,  05:26, 27 June 2017
no edit summary
Line 6: Line 6:     
  yum install nodejs npm vim-enhanced git policycoreutils-python --enablerepo=epel
 
  yum install nodejs npm vim-enhanced git policycoreutils-python --enablerepo=epel
 +
cd ~
    +
Download the latest Parsoid form the Git:
 +
git clone https://gerrit.wikimedia.org/r/p/mediawiki/services/parsoid
 +
 +
 +
Copy the Paroid to /opt:
 +
cp -rv ~/parsoid /opt/
 +
 +
 +
Go to /opt/parsoid/
 +
cd /opt/parsoid/
 +
 +
 +
Install Parsoid in node.js:
 +
npm install
 +
 +
 +
Create the file local settings :
 +
mkdir /opt/parsoid/etc
 +
cp /opt/parsoid/config.example.yaml /opt/parsoid/etc/config.yaml
 +
vim /opt/parsoid/etc/config.yaml
 +
 +
set the required parameters
 +
uri: 'http://wiki.medi.com/api.php'
 +
and optionals as per example
 +
domain: 'wiki.medi.com'  # optiona
    
===Sources===
 
===Sources===
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,228

edits

Navigation menu