mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
fb56809e55
* Added oauth provider. * Fixed provider. * Added auth flow. * Fixed auth flow and added scaffolding vite config. * Added working oauth2. * Fixed dockerfile. * Adapted run.sh script * Moved api tests to oauth2. * Updated security schemes. * Removed api key from existance. * Fixed installation * Added missing issuer in config. * Fixed dev dependencies. * Updated lock file.
49 lines
979 B
Batchfile
49 lines
979 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.
|
|
|
|
|
|
:: Install admin ui only if available
|
|
IF EXIST admin (
|
|
cd /D .\admin
|
|
dir
|
|
cmd /C pnpm i || exit /B 1
|
|
cmd /C pnpm run build || exit /B 1
|
|
cd /D ..
|
|
)
|
|
|
|
:: Install ui only if available
|
|
IF EXIST ui (
|
|
cd /D .\ui
|
|
dir
|
|
cmd /C pnpm i || exit /B 1
|
|
cmd /C pnpm run build || exit /B 1
|
|
cd /D ..
|
|
)
|
|
|
|
|
|
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
|