File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,8 +21,7 @@ On the server:
2121
2222``` bash
2323sudo apt update && sudo apt install -y curl
24- curl -fsSLo caprover-install.sh \
25- https://raw.githubusercontent.com/caprover/caprover/master/scripts/user/installer/caprover-install.sh
24+ curl -fsSL https://get.caprover.com -o caprover-install.sh
2625sudo bash caprover-install.sh --check
2726sudo bash caprover-install.sh
2827```
Original file line number Diff line number Diff line change @@ -21,8 +21,7 @@ Ejecuta estos comandos en el servidor:
2121
2222``` bash
2323sudo apt update && sudo apt install -y curl
24- curl -fsSLo caprover-install.sh \
25- https://raw.githubusercontent.com/caprover/caprover/master/scripts/user/installer/caprover-install.sh
24+ curl -fsSL https://get.caprover.com -o caprover-install.sh
2625sudo bash caprover-install.sh --check
2726sudo bash caprover-install.sh
2827```
Original file line number Diff line number Diff line change @@ -21,8 +21,7 @@ slug: /get-started
2121
2222``` bash
2323sudo apt update && sudo apt install -y curl
24- curl -fsSLo caprover-install.sh \
25- https://raw.githubusercontent.com/caprover/caprover/master/scripts/user/installer/caprover-install.sh
24+ curl -fsSL https://get.caprover.com -o caprover-install.sh
2625sudo bash caprover-install.sh --check
2726sudo bash caprover-install.sh
2827```
Original file line number Diff line number Diff line change @@ -144,6 +144,10 @@ try {
144144 assert ( startHtml . includes ( "caprover-install.sh" ) &&
145145 startHtml . includes ( "/docs/installation/manual" ) ,
146146 "Getting Started must use the installer and link Manual Setup" ) ;
147+ assert ( startHtml . includes ( "https://get.caprover.com" ) ,
148+ `${ locale . code } Getting Started must use the short installer URL` ) ;
149+ assert ( ! startHtml . includes ( "raw.githubusercontent.com/caprover/caprover/master/scripts/user/installer/caprover-install.sh" ) ,
150+ `${ locale . code } Getting Started must not use the raw GitHub installer URL` ) ;
147151 const oldPage = await fetch ( origin + locale . pathPrefix +
148152 "/docs-next/installation/digitalocean" ) ;
149153 assert . equal ( oldPage . status , 200 ) ;
You can’t perform that action at this time.
0 commit comments