I think ... - documenthttps://blog.kmonsoor.com/2016-04-22T00:00:00+06:00Running Etherpad on Windows2016-04-22T00:00:00+06:002016-04-22T00:00:00+06:00Khaled Monsoortag:blog.kmonsoor.com,2016-04-22:/running-etherpad-on-windows/<p>Though it’s not a big deal, but running Etherpad as hosted on Windows is troublesome. Here’s how to make it predictable and easy.</p><p>Though it’s not a big deal, but running Etherpad as hosted on Windows is troublesome. Here’s how to make it predictable and easy.</p>
<p>What you’d need beforehand:</p>
<p><strong>1.</strong> Properly install system-wide <code>Node.js</code>, and of course <span class="caps">NPM</span> with it. Get the latest-and-stable <a href="https://nodejs.org/en/download/">from NodeJs.org</a>.<br>
After installing, check it from command prompt.
<div class="highlight"><pre><span></span><code><span class="linenos" data-linenos=" 1 "></span>C:\users\alpha\> node -v
<span class="linenos" data-linenos=" 2 "></span>v5.11.0
<span class="linenos" data-linenos=" 3 "></span>
<span class="linenos" data-linenos=" 4 "></span>C:\users\alpha\> npm verison
<span class="linenos" data-linenos=" 5 "></span>{ npm: '3.8.6',
<span class="linenos" data-linenos=" 6 "></span>ares: '1.10.1-DEV',
<span class="linenos" data-linenos=" 7 "></span>http_parser: '2.7.0',
<span class="linenos" data-linenos=" 8 "></span>icu: '56.1',
<span class="linenos" data-linenos=" 9 "></span>modules: '47',
<span class="linenos" data-linenos="10 "></span>node: '5.11.0',
<span class="linenos" data-linenos="11 "></span>openssl: '1.0.2g',
<span class="linenos" data-linenos="12 "></span>uv: '1.8.0',
<span class="linenos" data-linenos="13 "></span>v8: '4.6.85.31',
<span class="linenos" data-linenos="14 "></span>zlib: '1.2.8' }
</code></pre></div>
Version(s) in your output may not be same but nothing to worry.</p>
<p><strong>2.</strong> Download and install latest Python 2.7 from <a href="https://www.python.org/downloads/">Python.org</a>. Please note that <strong>Python2</strong> is needed as system-default, <span class="caps">NOT</span> <strong>Python 3</strong>.<br>
Check it by running Python interpreter from command-prompt.</p>
<div class="highlight"><pre><span></span><code><span class="linenos" data-linenos="1 "></span>C:\users\alpha\> python
<span class="linenos" data-linenos="2 "></span>Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)] on win32
<span class="linenos" data-linenos="3 "></span>Type "help", "copyright", "credits" or "license" for more information.
<span class="linenos" data-linenos="4 "></span>>>>
</code></pre></div>
<p><strong>3.</strong> Now, make sure you have <strong>Microsoft Build Tools 2013</strong> or newer properly installed on you system. Grab it <a href="http://go.microsoft.com/fwlink/?LinkID=320711">from Microsoft</a>.<br>
If the given link don’t work, look for it under <code>Tools for Visual Studio 2013</code> in <a href="https://www.visualstudio.com/downloads">VisualStudio’s download site</a>.</p>
<p>Only after you have done these properly, proceed to download <code>Etherpad-lite</code> from <a href="http://etherpad.org/#download">etherpad.org</a>
The download size should be over <strong><span class="caps">50MB</span></strong>. </p>
<p>Do <strong><span class="caps">NOT</span></strong> go for building from the source unless you must.</p>
<p><strong>Download</strong> the zip, <strong>unzip</strong> it, <strong>move</strong> it to your desired folder, and then run <code>start.bat</code> in the folder.</p>
<p>You will never know how much time i just saved you.</p>
<p>You’re welcome … ;)</p>