CRANEGOO v3.0 — Plataforma completa de gestión para grúas y elevadores
13 módulos, 6 roles, 5 idiomas, 4 temas visuales Creador: José Jiménez Salinas — Consultoría Alcaraz Salazar
This commit is contained in:
67
docs/SETUP.md
Normal file
67
docs/SETUP.md
Normal file
@@ -0,0 +1,67 @@
|
||||
# Guía Rápida de Setup
|
||||
|
||||
## Opción 1: Vite (Recomendada)
|
||||
|
||||
```bash
|
||||
git clone https://git.consultoria-as.com/consultoria-as/cranegoo.git
|
||||
cd cranegoo
|
||||
npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Luego agregar `vite.config.js`:
|
||||
|
||||
```javascript
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
})
|
||||
```
|
||||
|
||||
Y crear `index.html` en la raíz:
|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html lang="es">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>CRANEGOO</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/main.jsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
Y `src/main.jsx`:
|
||||
|
||||
```javascript
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom/client'
|
||||
import App from './App.jsx'
|
||||
|
||||
ReactDOM.createRoot(document.getElementById('root')).render(
|
||||
<React.StrictMode>
|
||||
<App />
|
||||
</React.StrictMode>,
|
||||
)
|
||||
```
|
||||
|
||||
## Opción 2: Directa en Claude.ai
|
||||
|
||||
El archivo `src/App.jsx` se puede abrir directamente como artifact en claude.ai para pruebas rápidas.
|
||||
|
||||
## Credenciales Admin
|
||||
|
||||
- **Usuario:** `jose.jimenez`
|
||||
- **Contraseña:** `mexus2024`
|
||||
|
||||
## Notas
|
||||
|
||||
- La app corre 100% en frontend, sin backend
|
||||
- Todo el estado se pierde al recargar
|
||||
- Prioridad para el programador: migrar a Supabase/Firebase
|
||||
Reference in New Issue
Block a user