Fix: Cleanup \n 1. Remove PostgreSQL \n 2. Remove comments from Python \n 3. Remove non-demo ERP Python code \n 4. Remove deprecated Python code

This commit is contained in:
2025-03-21 13:33:29 +00:00
parent 2ddfd8e10f
commit a6cbf9a7b7
220 changed files with 151 additions and 34140 deletions

6
run.py
View File

@@ -11,7 +11,11 @@ Runs project.
"""
from app import app
import os
from dotenv import load_dotenv, find_dotenv
load_dotenv(find_dotenv())
if __name__ == '__main__':
app.run(debug=True)
app.run(debug=(os.getenv('FLASK_ENV') == 'development'))
# app.run(debug=True, host="0.0.0.0", port=5000)