← ClaudeAtlas

lando-setuplisted

Sets up a PrestaShop 8/9 project locally with Lando, or refreshes its database from the server. Full setup configures Lando, syncs app/config, picks a free port, imports the DB and fixes shop URLs; DB refresh mode only re-dumps and re-imports the database. Use when the user says "monta el proyecto", "setup lando", "prepara en local", "levanta el lando de X", "configura X en local", "actualízame la DB", "refresca la DB de X", "bájame la DB de X", "sync DB", or "quiero la DB actualizada de X".
educlopez/mallard · ★ 0 · API & Backend · score 75
Install: claude install-skill educlopez/mallard
# lando-setup ## Trigger **Full setup** (project not yet configured locally): "monta el proyecto", "setup lando", "prepara en local", "levanta el lando de X", "configura X en local" → Run all steps in order. **DB refresh only** (Lando already running, just need fresh DB): "actualízame la DB", "refresca la DB de X", "bájame la DB de X", "sync DB", "quiero la DB actualizada de X" → Skip to [DB Refresh Mode](#db-refresh-mode) below. ## Placeholders - `{workspace}` — the directory under `~/developer/` where your projects live (e.g. your company or team name). Set it once; every path below uses `~/developer/{workspace}/{project-name}/`. - `{ssh_key}` — the SSH private key configured for the servers (e.g. `id_rsa_company`). Used explicitly on every SSH/rsync command. ## Context - Projects live at ~/developer/{workspace}/{project-name}/ - SSH hosts in ~/.ssh/config follow pattern: {alias}-prod, {alias}-pre - All projects are PrestaShop 8 or 9 - DB credentials in app/config/parameters.php (on the SERVER) - Existing port range in use: 33290–33409 (pick next free one) ## SSH Authentication ### SSH Keys - `~/.ssh/{ssh_key}` — your primary company key (RSA). Replace `{ssh_key}` with your configured key name (e.g. `id_rsa_company`). - `~/.ssh/{ssh_key_ed25519}` — Ed25519, your company SSH key — modern alternative. Always use `-i ~/.ssh/{ssh_key}` explicitly on all SSH/rsync commands to avoid key ambiguity. ### Auth modes **Key-based (most projects):** Your company public key is