mirror of
git://f0xx.org/android_cast
synced 2026-07-29 07:39:15 +03:00
sync landing 2
This commit is contained in:
@@ -22,6 +22,25 @@ Landing uses **`index.php`** (shared footer from `examples/platform/footer.confi
|
||||
|
||||
**Multipage landing (2026-06):** sync `hub-landing.css`, `landing-pages.inc.php`, `assets/hub-landing.js`, `assets/hub-i18n.js`, `assets/i18n/hub-en.json`, `assets/i18n/hub-ru.json` with `index.php`.
|
||||
|
||||
**One-shot sync (recommended):**
|
||||
|
||||
```bash
|
||||
# sshfs mount at tmp/BE_alpine/... OR pass BE path:
|
||||
./examples/app_hub/scripts/sync-landing-to-be.sh
|
||||
|
||||
# Or direct to Alpine BE:
|
||||
REMOTE=alpine-be ./examples/app_hub/scripts/sync-landing-to-be.sh
|
||||
```
|
||||
|
||||
**Verify deploy actually landed** (old hub title is `Project hub`; new is `Landing`):
|
||||
|
||||
```bash
|
||||
curl -sS 'https://apps.f0xx.org/app/androidcast_project/' | grep -E '<title>|hub-landing|landing-top'
|
||||
curl -sS -o /dev/null -w '%{http_code}\n' 'https://apps.f0xx.org/app/androidcast_project/hub-landing.css'
|
||||
```
|
||||
|
||||
Expect `Android Cast — Landing`, `hub-landing.css`, and HTTP **200** (not 404).
|
||||
|
||||
```bash
|
||||
cp .../android_cast/examples/app_hub/index.php \
|
||||
.../htdocs/apps/app/androidcast_project/index.php
|
||||
|
||||
Reference in New Issue
Block a user