Deploy: zweites Ziel netcup per --target, Programmschmiede-Deploy bleibt Standard
This commit is contained in:
parent
0a9c0ee61d
commit
273eabfdb7
3 changed files with 82 additions and 22 deletions
11
README.md
11
README.md
|
|
@ -171,8 +171,19 @@ Zugangsdaten liegen in `docs/credentials.txt` (nicht eingecheckt).
|
|||
./tools/deploy.sh --install # Schema + ersten Admin anlegen
|
||||
./tools/deploy.sh --check # Health, Login und Assets prüfen
|
||||
./tools/deploy.sh --all
|
||||
|
||||
# Zweites Ziel (endgültige Website, netcup): eigenes Credential-Set
|
||||
./tools/deploy.sh --target netcup --check
|
||||
./tools/deploy.sh --target netcup --sync
|
||||
```
|
||||
|
||||
`--target programmschmiede` (Standard) nutzt `docs/credentials.txt` und
|
||||
`drink-it-cold.programmschmiede.de`; `--target netcup` nutzt
|
||||
`docs/credentials.netcup.txt` und `drinkitcold.de` (`REMOTE_DIR` dort
|
||||
`httpdocs`). Zielordner und URL lassen sich in der jeweiligen Credential-Datei
|
||||
per `REMOTE_DIR`/`PUBLIC_URL` überschreiben; `FTP_TLS_LEGACY=1` erzwingt die
|
||||
KAS-Workarounds (TLS 1.2, Zertifikat ungeprüft), die netcup nicht braucht.
|
||||
|
||||
Für `--install` werden `DIC_ADMIN_FIRST`, `DIC_ADMIN_LAST` und
|
||||
`DIC_ADMIN_PASSWORD` aus der Umgebung gelesen oder interaktiv abgefragt.
|
||||
`install.php` wird nach erfolgreicher Installation vom Server entfernt.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue