Initial commit: Estructura backend y frontend con estándar VPS
- Backend migrado a estructura VPS (src/ subfolder) - Frontend con estructura Vite + React 19 + Tailwind - Configuración PostgreSQL con Pool - API service con interceptores JWT - Ambos servidores funcionando (backend:3001, frontend:5173)
This commit is contained in:
8
frontend/deploy.sh
Normal file
8
frontend/deploy.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
echo "Building React app..."
|
||||
npm run build
|
||||
echo "Setting permissions..."
|
||||
sudo chown -R www-data:www-data dist/
|
||||
echo "Reloading Nginx..."
|
||||
sudo systemctl reload nginx
|
||||
echo "✓ Deploy complete!"
|
||||
Reference in New Issue
Block a user