1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 05:17:39 +03:00

Add static Android Cast project hub landing page.

Three card links (reports, git, tickets) match crash console styling with stronger hover lift; nginx serves index.html at /app/androidcast_project/ instead of redirecting to crashes.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-05-25 07:16:31 +02:00
parent 7e6a502103
commit d5ff009192
5 changed files with 269 additions and 4 deletions

View File

@@ -0,0 +1,31 @@
# Android Cast project hub (static landing)
Served at `https://apps.f0xx.org/app/androidcast_project/` — three links to reports, git, and tickets.
## Deploy (BE VM)
After `git pull` on the server tree, copy two files next to `crashes/` (not inside PHP public):
```bash
HUB=/var/www/localhost/htdocs/apps/app/androidcast_project
SRC=.../android_cast/examples/app_hub # adjust to your clone path
cp "$SRC/index.html" "$HUB/index.html"
cp "$SRC/hub.css" "$HUB/hub.css"
```
Update nginx: replace the redirect on `/app/androidcast_project/` with static `alias` (see `examples/crash_reporter/backend/nginx.apps.conf.fragment`). Then:
```bash
nginx -t && rc-service nginx reload # or your reload command
```
No PHP-FPM or database steps. Crash console CSS is loaded from `/app/androidcast_project/crashes/assets/css/app.css` (existing nginx alias).
## Local preview
```bash
cd examples/app_hub
php -S 127.0.0.1:8765
# open http://127.0.0.1:8765/ — icons/CSS need crashes assets or adjust hrefs
```