VisualEditor/Installation on a shared host

VisualEditor requires a Parsoid service, which in turn requires Node.js. Most shared-hosting companies don't provide this. If you cannot move your wiki to a dedicated hosting solution such as a VPS, then a workaround is to install Parsoid on a cloud platform which supports Node.js, such as Heroku.com.

Part 1: Heroku.com

 * 1) Sign up with Heroku.com
 * 2) Create a new app
 * 3) Go to your app settings
 * 4) Scroll to the Buildpack section
 * 5) Add a new buildpack
 * 6) Select Node.js

Part 2: Your local computer

 * 1) Install the Heroku Command Line Interface and log in
 * 2) Clone Parsoid with
 * 3) Enter the Parsoid directory you just created, for example with
 * 4) Edit the hidden file  and remove the lines   and
 * 5) Create your config file by copying  and renaming it to
 * 6) Edit the  file you just created by changing the example URI for the URL of your API, for example
 * 7) If your wiki uses https, then uncomment the line
 * 8) If the  line is uncommented, comment it (helps to avoid the "Invalid domain" error)
 * 9) Save the changes
 * 10) Add the Heroku remote to your git repo with
 * 11) Stage the edited config files for committing with
 * 12) Commit your changes with
 * 13) Push and deploy your changes with
 * 14) Visit https://APPNAME.herokuapp.com to verify that your Parsoid service works

Part 3: Your wiki

 * 1) Download VisualEditor (don't forget to run  as explained in the link)
 * 2) Add to your LocalSettings.php:
 * 3) Done! Visit your wiki, edit any page and save the changes to test it out!

External resources

 * Getting Started with Node.js over Heroku Manual
 * Video walkthrough in Spanish