Wire admin studio SSR and search infrastructure
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Skinbase26 CLI Reference
|
||||
|
||||
Last updated: 2026-04-18
|
||||
Last updated: 2026-04-25
|
||||
|
||||
This document lists the repository-specific command-line entry points in Skinbase26.
|
||||
|
||||
@@ -27,7 +27,8 @@ Examples below are representative. For the full option list of any Artisan comma
|
||||
|
||||
| Script | Why it is used | Example |
|
||||
| --- | --- | --- |
|
||||
| `scripts/deploy-production.sh` | Full production deployment workflow including build, rsync, migrations, and optional sync steps | `bash scripts/deploy-production.sh --mode=normal` |
|
||||
| `scripts/deploy-production.sh` | Full production deployment workflow using retained release directories and a server-side current-release switch | `bash scripts/deploy-production.sh --mode=normal` |
|
||||
| `scripts/rollback-production.sh` | Switch the active production release to a previously retained server-side deployment | `bash scripts/rollback-production.sh --previous` |
|
||||
| `scripts/push-db-to-prod.sh` | Push the local database to production with remote backup controls | `bash scripts/push-db-to-prod.sh --force` |
|
||||
| `scripts/render-nova-card.cjs` | Render a Nova card screenshot through Playwright | `node scripts/render-nova-card.cjs --url=https://example.test/card --out=tmp/card.png` |
|
||||
| `scripts/vision-smoke.ps1` | Smoke-test the configured Vision API from PowerShell | `powershell -ExecutionPolicy Bypass -File scripts/vision-smoke.ps1` |
|
||||
@@ -299,4 +300,10 @@ These are useful, but they read more like maintenance probes and one-off utiliti
|
||||
|
||||
- The deploy mirror under `.deploy/artwork-evolution-release` contains equivalent command classes for deployment packaging, but this reference is sourced from the main repository tree.
|
||||
- For commands that mutate production data, prefer running a dry-run mode first when one exists.
|
||||
- For one-off scripts, read the file before using it. Several are intentionally ad hoc and may contain hardcoded IDs, paths, or assumptions.
|
||||
- For one-off scripts, read the file before using it. Several are intentionally ad hoc and may contain hardcoded IDs, paths, or assumptions.
|
||||
|
||||
## Scheduler
|
||||
|
||||
- **Active scheduler file:** The application's active runtime schedule is consolidated in [routes/console.php](routes/console.php). Do not duplicate recurring entries in [app/Console/Kernel.php](app/Console/Kernel.php) — the app boots command routes from `bootstrap/app.php` and registering the same cron bodies in multiple places can lead to duplicate runs.
|
||||
- **Validation:** After editing schedules run `php artisan schedule:list` to confirm Laravel parses the schedule and to view the resolved cron timings. This command also surfaces invalid frequency methods (for example `everyHour()` or `everyFiveMinute()`) which will break schedule introspection.
|
||||
- **Best practice:** Stagger heavy jobs away from the same minute boundaries (avoid piling multiple CPU-heavy commands on `:00`, `:10`, `:15`, `:30`). Prefer cron offsets or `->cron()` expressions in `routes/console.php` and use `->withoutOverlapping()` and `->runInBackground()` where appropriate.
|
||||
Reference in New Issue
Block a user