fix: corrigir CLAUDE.md e scroll do DevelopmentModule
- CLAUDE.md: remover branch inexistente (claude/analyze-project-0mXjP), documentar branch Servidor, remote origin, comando de deploy real - DevelopmentModule: adicionar h-full no flex-1 para habilitar scroll na view home (conteúdo estava cortado sem scrollbar) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e0ef06cb1e
commit
3a0d25f5c3
35
CLAUDE.md
35
CLAUDE.md
|
|
@ -45,9 +45,38 @@ AI_INTEGRATIONS_OPENAI_API_KEY=${LITELLM_API_KEY}
|
||||||
- `PLANO_EVOLUCAO_ARCADIA.md` — roadmap e evolução
|
- `PLANO_EVOLUCAO_ARCADIA.md` — roadmap e evolução
|
||||||
- `MAPA_SISTEMA_ARCADIA.md` — mapa do sistema
|
- `MAPA_SISTEMA_ARCADIA.md` — mapa do sistema
|
||||||
|
|
||||||
## Branch de desenvolvimento
|
## Git e Deploy
|
||||||
Sempre commitar em: `claude/analyze-project-0mXjP`
|
|
||||||
Push: `git push -u origin claude/analyze-project-0mXjP`
|
### Remote canônico
|
||||||
|
- **Remote:** `origin` → `github.com/jonaspachecoometas/arcadiasuite`
|
||||||
|
- **Branch de produção:** `Servidor` (único branch ativo — sempre commitar aqui)
|
||||||
|
- Push: `git push origin Servidor`
|
||||||
|
|
||||||
|
> Os remotes `gitea`, `arcadiasuite` e `gitsafe-backup` existem mas são secundários.
|
||||||
|
> O Coolify está em processo de reconexão para apontar para `origin/Servidor`.
|
||||||
|
|
||||||
|
### Deploy em produção
|
||||||
|
O site roda via `docker compose` manual em `/opt/arcadia_merged/`.
|
||||||
|
**Comando para atualizar o app após mudança de código:**
|
||||||
|
```bash
|
||||||
|
cd /opt/arcadia_merged
|
||||||
|
docker compose -f docker-compose.prod.yml build app
|
||||||
|
docker compose -f docker-compose.prod.yml up -d app
|
||||||
|
```
|
||||||
|
- Reconstrói só o container `app` (~3-5 min)
|
||||||
|
- Banco, Redis, MiroFlow, Python services **não são afetados**
|
||||||
|
- Downtime: ~30 segundos durante a troca do container
|
||||||
|
|
||||||
|
### Serviços em execução (não mexer sem necessidade)
|
||||||
|
```
|
||||||
|
arcadia-prod-app-1 porta 5000 → suite.onboardbi.com.br (Traefik)
|
||||||
|
arcadia-prod-db-1 PostgreSQL (dados em volume Docker)
|
||||||
|
arcadia-prod-redis-1 Redis
|
||||||
|
arcadia-prod-miroflow-1 MiroFlow agente
|
||||||
|
arcadia-prod-litellm-1 LiteLLM gateway
|
||||||
|
arcadia-prod-superset-1 Superset BI
|
||||||
|
arcadia-prod-{contabil,bi,automation,fisco,embeddings}-1 Python services
|
||||||
|
```
|
||||||
|
|
||||||
## O que está implementado
|
## O que está implementado
|
||||||
- ✅ Manus (agente autônomo, 30+ ferramentas)
|
- ✅ Manus (agente autônomo, 30+ ferramentas)
|
||||||
|
|
|
||||||
|
|
@ -691,7 +691,7 @@ export default function DevelopmentModule() {
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="h-full flex bg-gray-50">
|
<div className="h-screen flex bg-gray-50">
|
||||||
<div className="w-16 bg-gray-900 flex flex-col items-center py-4 gap-2 overflow-y-auto h-full">
|
<div className="w-16 bg-gray-900 flex flex-col items-center py-4 gap-2 overflow-y-auto h-full">
|
||||||
<button
|
<button
|
||||||
onClick={() => setActiveTool("home")}
|
onClick={() => setActiveTool("home")}
|
||||||
|
|
@ -715,8 +715,8 @@ export default function DevelopmentModule() {
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex-1 overflow-hidden">
|
<div className="flex-1 h-full overflow-hidden">
|
||||||
{activeTool === "home" && renderHome()}
|
{activeTool === "home" && <div className="h-full overflow-y-auto">{renderHome()}</div>}
|
||||||
{activeTool === "doctypes" && <DocTypeBuilder />}
|
{activeTool === "doctypes" && <DocTypeBuilder />}
|
||||||
{activeTool === "pages" && <PageBuilder />}
|
{activeTool === "pages" && <PageBuilder />}
|
||||||
{activeTool === "workflows" && <WorkflowBuilder />}
|
{activeTool === "workflows" && <WorkflowBuilder />}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue