Skip to content

Commit 20e4b1b

Browse files
docs,code: internacionalização bilíngue total (PT/EN) em toda a base, SEO, comentários, scripts e documentação
1 parent a9bd057 commit 20e4b1b

15 files changed

+1062
-25
lines changed

COMO_EXECUTAR.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1+
12
# 🚀 INSTRUÇÕES PARA EXECUTAR O APLICATIVO
3+
# 🇧🇷 **Português** | 🇺🇸 **English**
4+
5+
<details>
6+
<summary><strong>🇧🇷 Português (clique para expandir)</strong></summary>
27

38
## ✅ Status Atual
49
- ✅ Ambiente Python configurado em: `/workspaces/Py_Vy_000/.venv/bin/python`
@@ -58,6 +63,76 @@ Após executar qualquer uma das opções acima:
5863
### ✅ Melhorias Baseadas nos Guias Plotly:
5964

6065
1. **Sunburst Interativo**
66+
67+
</details>
68+
69+
---
70+
71+
<details open>
72+
<summary><strong>🇺🇸 English (click to expand)</strong></summary>
73+
74+
# 🚀 INSTRUCTIONS TO RUN THE APPLICATION
75+
76+
## ✅ Current Status
77+
- ✅ Python environment configured at: `/workspaces/Py_Vy_000/.venv/bin/python`
78+
- ✅ Dependencies installed: dash, plotly, pandas, numpy
79+
- ✅ Code checked and free of syntax errors
80+
- ✅ Improved app created following Plotly guides
81+
82+
## 🎯 How to Run
83+
84+
### Option 1: Full Application (Recommended)
85+
```bash
86+
cd /workspaces/Py_Vy_000
87+
/workspaces/Py_Vy_000/.venv/bin/python sunburst_cost_explorer_app.py
88+
```
89+
90+
### Option 2: Simplified Version (For Testing)
91+
```bash
92+
cd /workspaces/Py_Vy_000
93+
/workspaces/Py_Vy_000/.venv/bin/python run_app.py
94+
```
95+
96+
### Option 3: Automated Script
97+
```bash
98+
cd /workspaces/Py_Vy_000
99+
./start_app.sh
100+
```
101+
102+
## 🌐 Accessing the Application
103+
After running any of the above options:
104+
1. Wait for the message: "Running on http://0.0.0.0:8050"
105+
2. Access: **http://localhost:8050**
106+
3. Or use VS Code's Simple Browser
107+
108+
## 🛠️ Troubleshooting
109+
110+
### If it doesn't open:
111+
1. Check if port 8050 is free:
112+
```bash
113+
netstat -an | grep 8050
114+
```
115+
116+
2. Kill previous processes:
117+
```bash
118+
pkill -f python
119+
```
120+
121+
3. Try another port:
122+
- Edit the file and change `port=8050` to `port=8051`
123+
124+
### Debug Logs:
125+
- The app runs in debug mode
126+
- Errors will appear in the terminal
127+
- Code changes are automatically reloaded
128+
129+
## 📊 Implemented Features
130+
131+
### ✅ Improvements Based on Plotly Guides:
132+
133+
1. **Interactive Sunburst**
134+
135+
</details>
61136
- Hierarquia de 5 níveis (Pillar → Area → Service → Task → Sub-task)
62137
- Hover personalizado com informações detalhadas
63138
- Controle de profundidade via slider

0 commit comments

Comments
 (0)