mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-02 05:09:13 -04:00
修改端口9001为9002
This commit is contained in:
parent
8497f652bc
commit
a5cf527e8d
47 changed files with 109 additions and 109 deletions
|
@ -2,6 +2,6 @@
|
|||
# Start the services!
|
||||
|
||||
service etherpad start
|
||||
echo "Give Etherpad about 3 minutes to install dependencies then visit http://localhost:9001 in your web browser"
|
||||
echo "Give Etherpad about 3 minutes to install dependencies then visit http://localhost:9002 in your web browser"
|
||||
echo "To stop etherpad type 'service etherpad stop', To restart type 'service etherpad restart'".
|
||||
rm -f /tmp/etherpad.log /tmp/etherpad.err
|
||||
|
|
|
@ -23,6 +23,6 @@ script
|
|||
exec su -s /bin/sh -c 'exec "$0" "$@"' $EPUSER -- node --import tsx src/node/server.ts \
|
||||
>> $EPLOGS/access.log \
|
||||
2>> $EPLOGS/error.log
|
||||
echo "Etherpad is running on http://localhost:9001 - To change settings edit /opt/etherpad/settings.json"
|
||||
echo "Etherpad is running on http://localhost:9002 - To change settings edit /opt/etherpad/settings.json"
|
||||
|
||||
end script
|
||||
|
|
|
@ -38,8 +38,8 @@ SectionEnd
|
|||
Section
|
||||
CreateDirectory "$SMPROGRAMS\Etherpad Foundation"
|
||||
CreateShortCut "$SMPROGRAMS\Etherpad Foundation\Etherpad Server.lnk" "$INSTDIR\start.bat" "brand.ico" "Etherpad Server"
|
||||
CreateShortCut "$SMPROGRAMS\Etherpad Foundation\Etherpad.lnk" "http://127.0.0.1:9001" "brand.ico" "Etherpad"
|
||||
CreateShortCut "$SMPROGRAMS\Etherpad Foundation\Etherpad Admin.lnk" "http://127.0.0.1:9001/admin" "brand.ico" "Etherpad Admin"
|
||||
CreateShortCut "$SMPROGRAMS\Etherpad Foundation\Etherpad.lnk" "http://127.0.0.1:9002" "brand.ico" "Etherpad"
|
||||
CreateShortCut "$SMPROGRAMS\Etherpad Foundation\Etherpad Admin.lnk" "http://127.0.0.1:9002/admin" "brand.ico" "Etherpad Admin"
|
||||
CreateShortCut "$SMPROGRAMS\Etherpad Foundation\Uninstall Etherpad Server.lnk" "$INSTDIR\uninstall.exe"
|
||||
WriteUninstaller "$INSTDIR\uninstall.exe"
|
||||
Exec '$INSTDIR\start.bat'
|
||||
|
|
|
@ -28,7 +28,7 @@ To run the backend tests, run the following from the Etherpad working directory:
|
|||
(cd src && pnpm test)
|
||||
```
|
||||
|
||||
To run the frontend tests, visit: http://localhost:9001/tests/frontend/
|
||||
To run the frontend tests, visit: http://localhost:9002/tests/frontend/
|
||||
|
||||
## Copyright and License
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ jobs:
|
|||
pnpm run prod &
|
||||
connected=false
|
||||
can_connect() {
|
||||
curl -sSfo /dev/null http://localhost:9001/ || return 1
|
||||
curl -sSfo /dev/null http://localhost:9002/ || return 1
|
||||
connected=true
|
||||
}
|
||||
now() { date +%s; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue