~/Running etherpad-lite from source on Windows
23 December 2011
- Fork and clone etherpad-lite
- Install node.js windows installer (MSI) from https://nodejs.org
- This includes NPM (Node Package Manager)
- Path to
node.exe
and npm.cmd
are added to the path (restart console)
- Download
curl.exe
(https://curl.haxx.se) and save it to somewhere in the path
- Open the
var
folder and delete any files named minified*
- Check the required versions of files:
- jQuery, from
bin/installDeps.sh
- node.js, from
bin/buildForWindows.sh
- From the
etherpad-lite
directory, run the following commands (note this was tested using PowerShell, may be different for cmd.exe):
- copy settings.json.template_windows settings.json
- npm install
- curl -lo static\js\jquery.min.js https://code.jquery.com/jquery-1.7.min.js
- copy static\custom\js.template static\custom\index.template
- copy static\custom\js.template static\custom\pad.template
- copy static\custom\js.template static\custom\timeslider.template
- copy static\custom\css.template static\custom\index.template
- copy static\custom\css.template static\custom\pad.template
- copy static\custom\css.template static\custom\timeslider.template
- curl -lo bin\node.exe https://nodejs.org/dist/v0.6.5/node.exe
- Run
start.bat