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:
6
run.py
6
run.py
@@ -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)
|
||||
Reference in New Issue
Block a user