Merge pull request #3242 from BenaeSan/master

FIX the installOnWindows Error
This commit is contained in:
John McLear 2018-04-03 13:06:30 +01:00 committed by GitHub
commit 0c8b9e13fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions

View File

@ -8,7 +8,15 @@ cmd /C node -e "" || ( echo "Please install node.js ( https://nodejs.org )" && e
echo _ echo _
echo Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient. echo Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient.
cmd /C npm install src/ --loglevel warn || exit /B 1
mkdir node_modules
cd /D node_modules
mklink /D "ep_etherpad-lite" "..\src"
cd /D "ep_etherpad-lite"
cmd /C npm install --loglevel warn || exit /B 1
cd /D "%~dp0\.."
echo _ echo _
echo Copying custom templates... echo Copying custom templates...
@ -31,4 +39,4 @@ IF NOT EXIST settings.json (
) )
echo _ echo _
echo Installed Etherpad! To run Etherpad type start.bat echo Installed Etherpad! To run Etherpad type start.bat