mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
04063d664b
* fix bin folder and workflows as far its possible cleanup of dockerfile changed paths of scripts add lock file fix working directory for workflows fix windows bin fix travis (is travis used anyway?) fix package refs remove pnpm-lock file in root as these conflicts with the docker volume setup optimize comments use install again refactor prod image call to run fix --workspace can only be used inside a workspace correct comment try fix pipeline try fix pipeline for upgrade-from-latest-release install all deps smaller adjustments save update dockerfile remove workspace command fix run test command start repair latest release workflow start repair latest release workflow start repair latest release workflow further repairs * remove test plugin from docker compose
34 lines
775 B
Batchfile
34 lines
775 B
Batchfile
@echo off
|
|
|
|
:: Change directory to etherpad-lite root
|
|
cd /D "%~dp0\.."
|
|
|
|
:: Is node installed?
|
|
cmd /C node -e "" || ( echo "Please install node.js ( https://nodejs.org )" && exit /B 1 )
|
|
|
|
echo _
|
|
echo Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient.
|
|
|
|
mkdir node_modules
|
|
cd /D node_modules
|
|
mklink /D "ep_etherpad-lite" "..\src"
|
|
|
|
cd /D ..\src
|
|
cmd /C pnpm i || exit /B 1
|
|
|
|
cd /D "%~dp0\.."
|
|
|
|
echo _
|
|
echo Clearing cache...
|
|
del /S var\minified*
|
|
|
|
echo _
|
|
echo Setting up settings.json...
|
|
IF NOT EXIST settings.json (
|
|
echo Can't find settings.json.
|
|
echo Copying settings.json.template...
|
|
cmd /C copy settings.json.template settings.json || exit /B 1
|
|
)
|
|
|
|
echo _
|
|
echo Installed Etherpad! To run Etherpad type start.bat
|