Compare commits
4 Commits
20a5d01f88
...
pankaj-dev
| Author | SHA1 | Date | |
|---|---|---|---|
| 163c7814ed | |||
| 5b557efd80 | |||
| 71ce8ca819 | |||
| 68a694d2c7 |
19
.dockerignore
Normal file
19
.dockerignore
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
.git
|
||||||
|
.gitignore
|
||||||
|
__pycache__
|
||||||
|
*.pyc
|
||||||
|
*.pyo
|
||||||
|
*.pyd
|
||||||
|
.Python
|
||||||
|
env/
|
||||||
|
venv/
|
||||||
|
*.egg-info/
|
||||||
|
dist/
|
||||||
|
build/
|
||||||
|
.vscode/
|
||||||
|
.idea/
|
||||||
|
*.log
|
||||||
|
.env
|
||||||
|
instance/
|
||||||
|
.pytest_cache/
|
||||||
|
.coverage
|
||||||
4
.env
4
.env
@@ -4,7 +4,7 @@
|
|||||||
FLASK_ENV=development
|
FLASK_ENV=development
|
||||||
FLASK_DEBUG=True
|
FLASK_DEBUG=True
|
||||||
FLASK_HOST=0.0.0.0
|
FLASK_HOST=0.0.0.0
|
||||||
FLASK_PORT=5001
|
FLASK_PORT=5011
|
||||||
|
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
# Security
|
# Security
|
||||||
@@ -20,7 +20,7 @@ DB_HOST=127.0.0.1
|
|||||||
DB_PORT=3306
|
DB_PORT=3306
|
||||||
DB_NAME=comparisondb
|
DB_NAME=comparisondb
|
||||||
DB_USER=root
|
DB_USER=root
|
||||||
DB_PASSWORD=admin
|
DB_PASSWORD=root
|
||||||
|
|
||||||
# DATABASE_URL=mysql+pymysql://root:root@localhost/comparisondb
|
# DATABASE_URL=mysql+pymysql://root:root@localhost/comparisondb
|
||||||
|
|
||||||
|
|||||||
24
Dockerfile
Normal file
24
Dockerfile
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
FROM python:3.11-slim
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Install system dependencies
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
gcc \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# Copy requirements and install Python dependencies
|
||||||
|
COPY requirements.txt .
|
||||||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
# Copy application code
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# Create necessary directories
|
||||||
|
RUN mkdir -p app/logs app/static/uploads app/static/downloads
|
||||||
|
|
||||||
|
# Expose port
|
||||||
|
EXPOSE 5001
|
||||||
|
|
||||||
|
# Run the application
|
||||||
|
CMD ["python", "run.py"]
|
||||||
@@ -1,136 +1,87 @@
|
|||||||
# import matplotlib
|
import matplotlib
|
||||||
# matplotlib.use("Agg")
|
matplotlib.use("Agg")
|
||||||
|
|
||||||
# from flask import Blueprint, render_template, session, redirect, url_for
|
from flask import Blueprint, render_template, session, redirect, url_for
|
||||||
# import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
# import io
|
import io
|
||||||
# import base64
|
import base64
|
||||||
# from app.utils.plot_utils import plot_to_base64
|
from app.utils.plot_utils import plot_to_base64
|
||||||
# from app.services.dashboard_service import DashboardService
|
from app.services.dashboard_service import DashboardService
|
||||||
|
|
||||||
# dashboard_bp = Blueprint("dashboard", __name__, url_prefix="/dashboard")
|
|
||||||
|
|
||||||
# # dashboard_bp = Blueprint("dashboard", __name__)
|
|
||||||
|
|
||||||
# # charts
|
|
||||||
# # def plot_to_base64():
|
|
||||||
# # img = io.BytesIO()
|
|
||||||
# # plt.savefig(img, format="png", bbox_inches="tight")
|
|
||||||
# # plt.close()
|
|
||||||
# # img.seek(0)
|
|
||||||
# # return base64.b64encode(img.getvalue()).decode()
|
|
||||||
|
|
||||||
# # bar chart
|
|
||||||
# def bar_chart():
|
|
||||||
# categories = ["Trench", "Manhole", "Pipe Laying", "Restoration"]
|
|
||||||
# values = [120, 80, 150, 60]
|
|
||||||
|
|
||||||
# plt.figure()
|
|
||||||
# plt.bar(categories, values)
|
|
||||||
# plt.title("Work Category Report")
|
|
||||||
# plt.xlabel("test Category")
|
|
||||||
# plt.ylabel("test Quantity")
|
|
||||||
|
|
||||||
|
|
||||||
# return plot_to_base64(plt)
|
|
||||||
|
|
||||||
# # Pie chart
|
|
||||||
# def pie_chart():
|
|
||||||
# labels = ["Completed", "In Progress", "Pending"]
|
|
||||||
# sizes = [55, 20, 25]
|
|
||||||
|
|
||||||
# plt.figure()
|
|
||||||
# plt.pie(sizes, labels=labels, autopct="%1.1f%%", startangle=140)
|
|
||||||
# plt.title("Project Status")
|
|
||||||
|
|
||||||
# return plot_to_base64(plt)
|
|
||||||
|
|
||||||
# # Histogram chart
|
|
||||||
# def histogram_chart():
|
|
||||||
# daily_work = [5, 10, 15, 20, 20, 25, 30, 35, 40, 45, 50]
|
|
||||||
|
|
||||||
# plt.figure()
|
|
||||||
# plt.hist(daily_work, bins=5)
|
|
||||||
# plt.title("Daily Work Distribution")
|
|
||||||
# plt.xlabel("Work Units")
|
|
||||||
# plt.ylabel("Frequency")
|
|
||||||
|
|
||||||
# return plot_to_base64(plt)
|
|
||||||
|
|
||||||
# # Dashboaed page
|
|
||||||
# @dashboard_bp.route("/")
|
|
||||||
# def dashboard():
|
|
||||||
# if not session.get("user_id"):
|
|
||||||
# return redirect(url_for("auth.login"))
|
|
||||||
|
|
||||||
# return render_template(
|
|
||||||
# "dashboard.html",
|
|
||||||
# title="Dashboard",
|
|
||||||
# bar_chart=bar_chart(),
|
|
||||||
# pie_chart=pie_chart(),
|
|
||||||
# histogram=histogram_chart()
|
|
||||||
# )
|
|
||||||
|
|
||||||
# # subcontractor dashboard
|
|
||||||
# @dashboard_bp.route("/subcontractor_dashboard", methods=["GET", "POST"])
|
|
||||||
# def subcontractor_dashboard():
|
|
||||||
# if not session.get("user_id"):
|
|
||||||
# return redirect(url_for("auth.login"))
|
|
||||||
|
|
||||||
# tr_dash = DashboardService().bar_chart_of_tr_ex
|
|
||||||
|
|
||||||
|
|
||||||
# return render_template(
|
|
||||||
# "subcontractor_dashboard.html",
|
|
||||||
# title="Dashboard",
|
|
||||||
# bar_chart=tr_dash
|
|
||||||
# )
|
|
||||||
|
|
||||||
from flask import Blueprint, render_template, session, redirect, url_for, jsonify
|
|
||||||
from sqlalchemy import func
|
|
||||||
from app import db
|
|
||||||
from app.models.trench_excavation_model import TrenchExcavation
|
|
||||||
from app.models.manhole_excavation_model import ManholeExcavation
|
|
||||||
from app.models.laying_model import Laying
|
|
||||||
|
|
||||||
dashboard_bp = Blueprint("dashboard", __name__, url_prefix="/dashboard")
|
dashboard_bp = Blueprint("dashboard", __name__, url_prefix="/dashboard")
|
||||||
|
|
||||||
@dashboard_bp.route("/api/live-stats")
|
# dashboard_bp = Blueprint("dashboard", __name__)
|
||||||
def live_stats():
|
|
||||||
try:
|
|
||||||
# 1. Overall Volume
|
|
||||||
t_count = TrenchExcavation.query.count()
|
|
||||||
m_count = ManholeExcavation.query.count()
|
|
||||||
l_count = Laying.query.count()
|
|
||||||
|
|
||||||
# 2. Location Distribution (Business reach)
|
# charts
|
||||||
loc_results = db.session.query(
|
# def plot_to_base64():
|
||||||
TrenchExcavation.Location,
|
# img = io.BytesIO()
|
||||||
func.count(TrenchExcavation.id)
|
# plt.savefig(img, format="png", bbox_inches="tight")
|
||||||
).group_by(TrenchExcavation.Location).all()
|
# plt.close()
|
||||||
|
# img.seek(0)
|
||||||
|
# return base64.b64encode(img.getvalue()).decode()
|
||||||
|
|
||||||
# 3. Work Timeline (Business productivity trend)
|
# bar chart
|
||||||
# Assuming your models have a 'created_at' field
|
def bar_chart():
|
||||||
timeline_results = db.session.query(
|
categories = ["Trench", "Manhole", "Pipe Laying", "Restoration"]
|
||||||
func.date(TrenchExcavation.created_at),
|
values = [120, 80, 150, 60]
|
||||||
func.count(TrenchExcavation.id)
|
|
||||||
).group_by(func.date(TrenchExcavation.created_at)).order_by(func.date(TrenchExcavation.created_at)).all()
|
|
||||||
|
|
||||||
return jsonify({
|
plt.figure()
|
||||||
"summary": {
|
plt.bar(categories, values)
|
||||||
"trench": t_count,
|
plt.title("Work Category Report")
|
||||||
"manhole": m_count,
|
plt.xlabel("test Category")
|
||||||
"laying": l_count,
|
plt.ylabel("test Quantity")
|
||||||
"total": t_count + m_count + l_count
|
|
||||||
},
|
|
||||||
"locations": {row[0]: row[1] for row in loc_results if row[0]},
|
|
||||||
"timeline": {str(row[0]): row[1] for row in timeline_results}
|
|
||||||
})
|
|
||||||
except Exception as e:
|
|
||||||
return jsonify({"error": str(e)}), 500
|
|
||||||
|
|
||||||
|
|
||||||
|
return plot_to_base64(plt)
|
||||||
|
|
||||||
|
# Pie chart
|
||||||
|
def pie_chart():
|
||||||
|
labels = ["Completed", "In Progress", "Pending"]
|
||||||
|
sizes = [55, 20, 25]
|
||||||
|
|
||||||
|
plt.figure()
|
||||||
|
plt.pie(sizes, labels=labels, autopct="%1.1f%%", startangle=140)
|
||||||
|
plt.title("Project Status")
|
||||||
|
|
||||||
|
return plot_to_base64(plt)
|
||||||
|
|
||||||
|
# Histogram chart
|
||||||
|
def histogram_chart():
|
||||||
|
daily_work = [5, 10, 15, 20, 20, 25, 30, 35, 40, 45, 50]
|
||||||
|
|
||||||
|
plt.figure()
|
||||||
|
plt.hist(daily_work, bins=5)
|
||||||
|
plt.title("Daily Work Distribution")
|
||||||
|
plt.xlabel("Work Units")
|
||||||
|
plt.ylabel("Frequency")
|
||||||
|
|
||||||
|
return plot_to_base64(plt)
|
||||||
|
|
||||||
|
# Dashboaed page
|
||||||
@dashboard_bp.route("/")
|
@dashboard_bp.route("/")
|
||||||
def dashboard():
|
def dashboard():
|
||||||
if not session.get("user_id"):
|
if not session.get("user_id"):
|
||||||
return redirect(url_for("auth.login"))
|
return redirect(url_for("auth.login"))
|
||||||
return render_template("dashboard.html", title="Business Intelligence Dashboard")
|
|
||||||
|
return render_template(
|
||||||
|
"dashboard.html",
|
||||||
|
title="Dashboard",
|
||||||
|
bar_chart=bar_chart(),
|
||||||
|
pie_chart=pie_chart(),
|
||||||
|
histogram=histogram_chart()
|
||||||
|
)
|
||||||
|
|
||||||
|
# subcontractor dashboard
|
||||||
|
@dashboard_bp.route("/subcontractor_dashboard", methods=["GET", "POST"])
|
||||||
|
def subcontractor_dashboard():
|
||||||
|
if not session.get("user_id"):
|
||||||
|
return redirect(url_for("auth.login"))
|
||||||
|
|
||||||
|
tr_dash = DashboardService().bar_chart_of_tr_ex
|
||||||
|
|
||||||
|
|
||||||
|
return render_template(
|
||||||
|
"subcontractor_dashboard.html",
|
||||||
|
title="Dashboard",
|
||||||
|
bar_chart=tr_dash
|
||||||
|
)
|
||||||
@@ -1,118 +1,87 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="container-fluid px-2 px-md-4">
|
|
||||||
<h4 class="mb-3 text-center text-md-start">Comparison Software Solapur (UGD) - Live Dashboard</h4>
|
|
||||||
|
|
||||||
|
<div class="container-fluid px-2 px-md-4">
|
||||||
|
|
||||||
|
<h4 class="mb-3 text-center text-md-start">Comparison Software Solapur(UGD) </h4>
|
||||||
|
|
||||||
|
<!-- Summary Cards -->
|
||||||
<div class="row g-3 mb-4">
|
<div class="row g-3 mb-4">
|
||||||
|
|
||||||
|
<!-- Total Work -->
|
||||||
<div class="col-12 col-md-4">
|
<div class="col-12 col-md-4">
|
||||||
<div class="card text-white bg-primary shadow h-100">
|
<div class="card text-white bg-primary shadow h-100">
|
||||||
<div class="card-body text-center text-md-start">
|
<div class="card-body text-center text-md-start">
|
||||||
<h6>Trenching Units</h6>
|
<h6>Test Total Work</h6>
|
||||||
<h3 class="fw-bold" id="card-trench">0</h3>
|
<h3 class="fw-bold">30%</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Completed -->
|
||||||
<div class="col-12 col-md-4">
|
<div class="col-12 col-md-4">
|
||||||
<div class="card text-white bg-success shadow h-100">
|
<div class="card text-white bg-success shadow h-100">
|
||||||
<div class="card-body text-center text-md-start">
|
<div class="card-body text-center text-md-start">
|
||||||
<h6>Manhole Units</h6>
|
<h6>test Completed</h6>
|
||||||
<h3 class="fw-bold" id="card-manhole">0</h3>
|
<h3 class="fw-bold">35%</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Pending -->
|
||||||
<div class="col-12 col-md-4">
|
<div class="col-12 col-md-4">
|
||||||
<div class="card text-dark bg-warning shadow h-100">
|
<div class="card text-dark bg-warning shadow h-100">
|
||||||
<div class="card-body text-center text-md-start">
|
<div class="card-body text-center text-md-start">
|
||||||
<h6>Laying Units</h6>
|
<h6>Pending</h6>
|
||||||
<h3 class="fw-bold" id="card-laying">0</h3>
|
<h3 class="fw-bold">35%</h3>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Charts -->
|
||||||
<div class="row g-3">
|
<div class="row g-3">
|
||||||
|
|
||||||
|
<!-- Bar Chart -->
|
||||||
<div class="col-12 col-md-6">
|
<div class="col-12 col-md-6">
|
||||||
<div class="card shadow-sm h-100">
|
<div class="card shadow-sm h-100">
|
||||||
<div class="card-header bg-dark text-white">Live Category Bar Chart</div>
|
<div class="card-header bg-dark text-white text-center text-md-start">
|
||||||
<div class="card-body">
|
Work Category Bar Chart
|
||||||
<canvas id="liveBarChart" style="max-height:300px;"></canvas>
|
</div>
|
||||||
|
<div class="card-body text-center">
|
||||||
|
<img src="data:image/png;base64,{{ bar_chart }}" class="img-fluid" style="max-height:300px;">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Pie Chart -->
|
||||||
<div class="col-12 col-md-6">
|
<div class="col-12 col-md-6">
|
||||||
<div class="card shadow-sm h-100">
|
<div class="card shadow-sm h-100">
|
||||||
<div class="card-header bg-dark text-white">Location Distribution Pie Chart</div>
|
<div class="card-header bg-dark text-white text-center text-md-start">
|
||||||
<div class="card-body">
|
Project Status Pie Chart
|
||||||
<canvas id="livePieChart" style="max-height:300px;"></canvas>
|
</div>
|
||||||
|
<div class="card-body text-center">
|
||||||
|
<img src="data:image/png;base64,{{ pie_chart }}" class="img-fluid" style="max-height:300px;">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Histogram -->
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="card shadow-sm">
|
||||||
|
<div class="card-header bg-dark text-white text-center text-md-start">
|
||||||
|
Daily Work Histogram
|
||||||
|
</div>
|
||||||
|
<div class="card-body text-center">
|
||||||
|
<img src="data:image/png;base64,{{ histogram }}" class="img-fluid" style="max-height:350px;">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
</div>
|
||||||
|
|
||||||
<script>
|
</div>
|
||||||
// 2. Initialize the Bar Chart
|
|
||||||
const barCtx = document.getElementById('liveBarChart').getContext('2d');
|
|
||||||
let liveBarChart = new Chart(barCtx, {
|
|
||||||
type: 'bar',
|
|
||||||
data: {
|
|
||||||
labels: ['Trenching', 'Manholes', 'Laying'],
|
|
||||||
datasets: [{
|
|
||||||
label: 'Units Completed',
|
|
||||||
data: [0, 0, 0],
|
|
||||||
backgroundColor: ['#0d6efd', '#198754', '#ffc107']
|
|
||||||
}]
|
|
||||||
},
|
|
||||||
options: { responsive: true, maintainAspectRatio: false }
|
|
||||||
});
|
|
||||||
|
|
||||||
// 3. Initialize the Pie Chart
|
|
||||||
const pieCtx = document.getElementById('livePieChart').getContext('2d');
|
|
||||||
let livePieChart = new Chart(pieCtx, {
|
|
||||||
type: 'pie',
|
|
||||||
data: {
|
|
||||||
labels: [], // Will be filled from SQL
|
|
||||||
datasets: [{
|
|
||||||
data: [],
|
|
||||||
backgroundColor: ['#0d6efd', '#198754', '#ffc107', '#6f42c1', '#fd7e14']
|
|
||||||
}]
|
|
||||||
},
|
|
||||||
options: { responsive: true, maintainAspectRatio: false }
|
|
||||||
});
|
|
||||||
|
|
||||||
// 4. Function to Fetch Live Data from your Python API
|
|
||||||
function fetchLiveData() {
|
|
||||||
fetch('/dashboard/api/live-stats') // This matches the route we created in the "Kitchen"
|
|
||||||
.then(response => response.json())
|
|
||||||
.then(data => {
|
|
||||||
// Update the Summary Cards
|
|
||||||
document.getElementById('card-trench').innerText = data.summary.trench;
|
|
||||||
document.getElementById('card-manhole').innerText = data.summary.manhole;
|
|
||||||
document.getElementById('card-laying').innerText = data.summary.laying;
|
|
||||||
|
|
||||||
// Update Bar Chart
|
|
||||||
liveBarChart.data.datasets[0].data = [
|
|
||||||
data.summary.trench,
|
|
||||||
data.summary.manhole,
|
|
||||||
data.summary.laying
|
|
||||||
];
|
|
||||||
liveBarChart.update();
|
|
||||||
|
|
||||||
// Update Pie Chart (Location stats)
|
|
||||||
livePieChart.data.labels = Object.keys(data.locations);
|
|
||||||
livePieChart.data.datasets[0].data = Object.values(data.locations);
|
|
||||||
livePieChart.update();
|
|
||||||
})
|
|
||||||
.catch(err => console.error("Error fetching live data:", err));
|
|
||||||
}
|
|
||||||
|
|
||||||
// 5. Check for updates every 10 seconds (Real-time effect)
|
|
||||||
setInterval(fetchLiveData, 10000);
|
|
||||||
fetchLiveData(); // Load immediately on page open
|
|
||||||
</script>
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
46
docker-compose.yml
Normal file
46
docker-compose.yml
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
version: '3.8'
|
||||||
|
|
||||||
|
services:
|
||||||
|
db:
|
||||||
|
image: mysql:8.0
|
||||||
|
container_name: comparison_db
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: root
|
||||||
|
MYSQL_DATABASE: comparisondb
|
||||||
|
ports:
|
||||||
|
- "3307:3306"
|
||||||
|
volumes:
|
||||||
|
- mysql_data:/var/lib/mysql
|
||||||
|
|
||||||
|
app:
|
||||||
|
build: .
|
||||||
|
container_name: comparison_app
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
FLASK_ENV: development
|
||||||
|
FLASK_DEBUG: "True"
|
||||||
|
FLASK_HOST: "0.0.0.0"
|
||||||
|
FLASK_PORT: "5001"
|
||||||
|
|
||||||
|
DB_DIALECT: mysql
|
||||||
|
DB_DRIVER: pymysql
|
||||||
|
DB_HOST: db
|
||||||
|
DB_PORT: 3306
|
||||||
|
DB_NAME: comparisondb
|
||||||
|
DB_USER: root
|
||||||
|
DB_PASSWORD: root
|
||||||
|
|
||||||
|
ports:
|
||||||
|
- "5001:5001"
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- ./app/logs:/app/app/logs
|
||||||
|
- ./app/static/uploads:/app/app/static/uploads
|
||||||
|
- ./app/static/downloads:/app/app/static/downloads
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
mysql_data:
|
||||||
200
logs/app.log
200
logs/app.log
@@ -1,200 +0,0 @@
|
|||||||
2025-12-09 13:11:05,606 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5000
|
|
||||||
2025-12-09 13:11:05,607 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:11:05,608 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:11:06,239 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:11:06,240 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:11:48,880 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5000
|
|
||||||
2025-12-09 13:11:48,881 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:11:48,882 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:11:49,519 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:11:49,521 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:12:05,727 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\services\\user_service.py', reloading
|
|
||||||
2025-12-09 13:12:05,826 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:12:06,499 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:12:06,501 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:12:09,545 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\config.py', reloading
|
|
||||||
2025-12-09 13:12:09,654 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:12:10,286 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:12:10,288 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:12:12,311 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\routes\\auth.py', reloading
|
|
||||||
2025-12-09 13:12:12,407 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:12:13,071 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:12:13,072 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:12:16,128 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\config.py', reloading
|
|
||||||
2025-12-09 13:12:16,257 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:12:16,898 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:12:16,900 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:12:20,944 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\routes\\user.py', reloading
|
|
||||||
2025-12-09 13:12:21,042 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:12:21,719 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:12:21,721 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:12:23,762 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\routes\\file_import.py', reloading
|
|
||||||
2025-12-09 13:12:23,870 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:12:24,505 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:12:24,507 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:12:27,561 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\services\\__init__.py', reloading
|
|
||||||
2025-12-09 13:12:27,670 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:12:28,294 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:12:28,296 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:12:31,336 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\services\\db_service.py', reloading
|
|
||||||
2025-12-09 13:12:31,448 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:12:32,097 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:12:32,099 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:13:05,662 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\config.py', reloading
|
|
||||||
2025-12-09 13:13:05,773 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:13:06,466 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:13:06,469 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:13:10,944 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5000
|
|
||||||
2025-12-09 13:13:10,944 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:13:10,945 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:13:11,623 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:13:11,625 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:14:11,295 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\run.py', reloading
|
|
||||||
2025-12-09 13:14:11,393 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:14:12,004 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:14:12,006 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:14:32,108 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5001
|
|
||||||
2025-12-09 13:14:32,109 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:14:32,110 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:14:32,699 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:14:32,701 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:15:58,632 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\run.py', reloading
|
|
||||||
2025-12-09 13:15:58,733 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:15:59,415 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:15:59,416 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:16:03,475 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\run.py', reloading
|
|
||||||
2025-12-09 13:16:03,583 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:16:04,204 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:16:04,206 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:16:33,504 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\run.py', reloading
|
|
||||||
2025-12-09 13:16:33,605 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:16:34,213 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:16:34,215 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:16:41,815 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5000
|
|
||||||
2025-12-09 13:16:41,816 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:18:12,302 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5000
|
|
||||||
2025-12-09 13:18:12,302 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:22:07,114 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5001
|
|
||||||
2025-12-09 13:22:07,114 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:22:07,116 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:22:07,935 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:22:07,937 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:23:21,204 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\run.py', reloading
|
|
||||||
2025-12-09 13:23:21,305 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:24:06,973 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5001
|
|
||||||
2025-12-09 13:24:06,973 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:24:06,974 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:24:07,689 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:24:07,691 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:24:36,315 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\app.py', reloading
|
|
||||||
2025-12-09 13:24:36,418 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:24:37,074 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:24:37,076 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:26:54,442 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\__init__.py', reloading
|
|
||||||
2025-12-09 13:26:54,543 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:26:59,170 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5001
|
|
||||||
2025-12-09 13:26:59,170 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:26:59,171 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:26:59,827 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:26:59,829 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:28:47,631 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\__init__.py', reloading
|
|
||||||
2025-12-09 13:28:47,747 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:28:48,478 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:28:48,480 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:28:51,150 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5001
|
|
||||||
2025-12-09 13:28:51,151 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:28:51,153 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:28:51,788 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:28:51,790 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:28:54,904 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\__init__.py', reloading
|
|
||||||
2025-12-09 13:28:55,010 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:28:55,608 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:28:55,610 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:28:56,644 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\__init__.py', reloading
|
|
||||||
2025-12-09 13:28:56,752 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:29:04,454 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5001
|
|
||||||
2025-12-09 13:29:04,454 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:29:04,455 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:29:05,096 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:29:05,098 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:30:01,657 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5001
|
|
||||||
2025-12-09 13:30:01,657 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:30:01,658 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:30:02,278 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:30:02,280 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:30:27,872 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5001
|
|
||||||
2025-12-09 13:30:27,872 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:30:27,873 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:30:28,474 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:30:28,476 | INFO | * Debugger PIN: 105-645-384
|
|
||||||
2025-12-09 13:33:22,709 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5001
|
|
||||||
2025-12-09 13:33:22,709 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:33:22,710 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:33:23,778 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:33:23,781 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:33:29,939 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\services\\db_service.py', reloading
|
|
||||||
2025-12-09 13:33:30,080 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:33:44,462 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5001
|
|
||||||
2025-12-09 13:33:44,462 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:33:44,464 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:33:45,216 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:33:45,218 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:35:23,298 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5001
|
|
||||||
2025-12-09 13:35:23,299 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:35:23,301 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:35:24,098 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:35:24,100 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:38:25,991 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\__init__.py', reloading
|
|
||||||
2025-12-09 13:38:26,126 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:38:27,120 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:38:27,122 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:38:37,386 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\config.py', reloading
|
|
||||||
2025-12-09 13:38:37,513 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:38:38,297 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:38:38,300 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:38:45,485 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\run.py', reloading
|
|
||||||
2025-12-09 13:38:45,605 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:38:46,348 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:38:46,350 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:38:55,109 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5001
|
|
||||||
2025-12-09 13:38:55,109 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:38:55,110 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:38:55,959 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:38:55,961 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:39:27,813 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\__init__.py', reloading
|
|
||||||
2025-12-09 13:39:27,937 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:39:28,684 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:39:28,687 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:40:00,602 | INFO | * Detected change in 'C:\\Work\\lcepl_Projects\\Comparison Project\\app\\__init__.py', reloading
|
|
||||||
2025-12-09 13:40:00,728 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:40:01,428 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:40:01,430 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 13:40:21,531 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5001
|
|
||||||
2025-12-09 13:40:21,531 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 13:40:21,533 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 13:40:22,307 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 13:40:22,309 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
2025-12-09 14:03:58,363 | INFO | [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on http://127.0.0.1:5001
|
|
||||||
2025-12-09 14:03:58,363 | INFO | [33mPress CTRL+C to quit[0m
|
|
||||||
2025-12-09 14:03:58,364 | INFO | * Restarting with stat
|
|
||||||
2025-12-09 14:03:59,038 | WARNING | * Debugger is active!
|
|
||||||
2025-12-09 14:03:59,041 | INFO | * Debugger PIN: 697-115-033
|
|
||||||
|
|||||||
Reference in New Issue
Block a user