docs: add Coolify deploy instructions
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user