mirror of
git://f0xx.org/android_cast
synced 2026-07-29 05:17:39 +03:00
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>
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):
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:
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
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