mirror of
https://github.com/Hestia-Homes/insight.git
synced 2026-06-08 11:17:25 +00:00
correct app
This commit is contained in:
parent
de59b2e593
commit
29aad225a9
3 changed files with 14 additions and 14 deletions
|
|
@ -28,7 +28,7 @@ RUN poetry config virtualenvs.create false \
|
|||
COPY . /app
|
||||
|
||||
# Expose port (Render uses PORT env var)
|
||||
EXPOSE 8000
|
||||
EXPOSE 10000
|
||||
|
||||
# Run Dash app via Gunicorn
|
||||
CMD ["gunicorn", "backend.src.dashboard.app:server", "--bind", "0.0.0.0:10000"]
|
||||
|
|
|
|||
|
|
@ -8,19 +8,19 @@ from datetime import datetime, timedelta
|
|||
import json
|
||||
import os
|
||||
|
||||
# from backend.src.dashboard.services.file_manager import FileManager
|
||||
# from backend.src.dashboard.services.json_reader import jsonReader
|
||||
# from backend.src.dashboard.components.pivot_charts import (
|
||||
# build_pivot_tables_and_charts,
|
||||
# week_start_monday,
|
||||
# )
|
||||
|
||||
from dashboard.services.file_manager import FileManager
|
||||
from dashboard.services.json_reader import jsonReader
|
||||
from dashboard.components.pivot_charts import (
|
||||
from backend.src.dashboard.services.file_manager import FileManager
|
||||
from backend.src.dashboard.services.json_reader import jsonReader
|
||||
from backend.src.dashboard.components.pivot_charts import (
|
||||
build_pivot_tables_and_charts,
|
||||
week_start_monday,
|
||||
)
|
||||
|
||||
# from dashboard.services.file_manager import FileManager
|
||||
# from dashboard.services.json_reader import jsonReader
|
||||
# from dashboard.components.pivot_charts import (
|
||||
# build_pivot_tables_and_charts,
|
||||
# week_start_monday,
|
||||
# )
|
||||
# -----------------------------------------------------
|
||||
# Register Page
|
||||
# -----------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ import dash
|
|||
from dash import html, dcc, dash_table, Input, Output, State, ctx
|
||||
import dash_bootstrap_components as dbc
|
||||
import pandas as pd
|
||||
from dashboard.services.file_manager import FileManager
|
||||
from dashboard.services.json_reader import jsonReader
|
||||
from dashboard.components.pivot_charts import week_start_monday
|
||||
from backend.src.dashboard.services.file_manager import FileManager
|
||||
from backend.src.dashboard.services.json_reader import jsonReader
|
||||
from backend.src.dashboard.components.pivot_charts import week_start_monday
|
||||
import os
|
||||
import json
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue