SHA256
Vorbereitung mit install.sh
This commit is contained in:
@@ -22,7 +22,7 @@ dotnet build -c Release
|
||||
# Beispiel-Seite erzeugen und bauen
|
||||
dotnet bin/Release/net10.0/webstatic.dll init mysite
|
||||
cd mysite
|
||||
dotnet ../../bin/Release/net10.0/webstatic.dll build --env work
|
||||
dotnet ../../bin/Release/net10.0/webstatic.dll build --env development
|
||||
|
||||
# Lokal ansehen
|
||||
dotnet ../../bin/Release/net10.0/webstatic.dll serve --port 8000
|
||||
@@ -30,14 +30,13 @@ dotnet ../../bin/Release/net10.0/webstatic.dll serve --port 8000
|
||||
|
||||
## Umgebungen
|
||||
|
||||
| `--env` | baseUrl (Beispiel) | Zweck |
|
||||
|----------|------------------------------|------------------------|
|
||||
| `work` | `http://localhost:8000` | Lokale Entwicklung |
|
||||
| `review` | `https://review.gitcover.org`| Freigabe/Vorschau |
|
||||
| `staging`| `https://gcbok.gitcover.org` | Abnahme (brx5) |
|
||||
| `deploy` | `https://gcbok.org` | Production |
|
||||
| `--env` | baseUrl (Beispiel) | Zweck |
|
||||
|--------------|------------------------------|------------------------|
|
||||
| `development`| `http://localhost:8000` | Lokale Entwicklung (work/preview/review) |
|
||||
| `staging` | `https://gcbok.gitcover.org` | Abnahme (brx5) |
|
||||
| `deploy` | `https://gcbok.org` | Production |
|
||||
|
||||
Aliase: `--preview` = `work`, `--staging` = `staging`, `--deploy` = `deploy`.
|
||||
Aliase: `--preview` / `--work` / `--review` = `development`, `--staging` = `staging`, `--deploy` = `deploy`.
|
||||
|
||||
## Konfiguration (`webstatic.json`)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user