Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Parsoid
(view source)
Revision as of 04:26, 27 June 2017
543 bytes added
,
04: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===
Unnilennium
Super Admin, Wiki & Docs Team,
Bureaucrats
,
Interface administrators
,
Administrators
3,254
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search