From 1036c0b297d5b3ff92a142372b7ea937740398e7 Mon Sep 17 00:00:00 2001 From: dmazzei Date: Tue, 29 Sep 2026 10:41:51 -0400 Subject: [PATCH] docs: add Coolify deploy instructions --- DEPLOY.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 DEPLOY.md diff --git a/DEPLOY.md b/DEPLOY.md new file mode 100644 index 0000000..4298715 --- /dev/null +++ b/DEPLOY.md @@ -0,0 +1,32 @@ +Instrucciones para desplegar en Coolify + +1. Ajustes en Coolify + +- Repo: https://git.korrith.com/G360Pmk/mazzeimastery.git +- Working dir / Root: (dejar en la raíz del repo) +- Build command: + + cd apps/web && npm ci && npm run build + +- Publish dir: dist/apps/web +- Tipo: Static Site (no seleccionar Node server) + +Notas: + +- Este proyecto usa `apps/web/package.json` y su `build` escribe en `../../dist/apps/web`. +- Hay un archivo `.nvmrc` en raíz; Coolify puede respetar la versión de Node indicada. + +2. Comprobación local rápida + +En tu máquina (desde Command Prompt o PowerShell con ejecución habilitada): + +```cmd +cd C:\Users\Andres\Downloads\horizons-mazzeimast +npm install +npm run build +dir dist\apps\web +``` + +3. Seguridad Git + +- El remoto se había añadido con credenciales en la URL. Se recomienda usar URL sin credenciales, o mejor: configurar SSH o un token y usar el credential helper.