diff --git a/main.py b/main.py index b756b0d..0ad72ff 100644 --- a/main.py +++ b/main.py @@ -20,25 +20,25 @@ pd.options.plotting.backend = "plotly" # PARAMETERS CONFIGS = { - # "ENV": "development", - # "DEBUG": True, + "ENV": "development", + "DEBUG": True, "SECRET_KEY": os.urandom(30), # Set the secret key for session authentication "PERMANENT_SESSION_LIFETIME": timedelta(minutes=60) } -SQL_CONFIG = dict( - database= os.getenv("PGDATABASE"), - user=os.getenv("PGUSER"), - host=os.getenv("PGHOST"), - port=os.getenv("PGPORT"), - password=os.getenv("PGPASSWORD") -) # SQL_CONFIG = dict( -# database="railway", -# user="postgres", -# host="containers-us-west-103.railway.app", -# port="5913", -# password="gv5Mh7cPjCm9YTjAmsYD" +# database= os.getenv("PGDATABASE"), +# user=os.getenv("PGUSER"), +# host=os.getenv("PGHOST"), +# port=os.getenv("PGPORT"), +# password=os.getenv("PGPASSWORD") # ) +SQL_CONFIG = dict( + database="railway", + user="postgres", + host="containers-us-west-103.railway.app", + port="5913", + password="gv5Mh7cPjCm9YTjAmsYD" +) # SQL_CONFIG = { # 'database': "tpm", # 'user': "hsienchen", diff --git a/templates/strategy_tw.html b/templates/strategy_tw.html index 0660cfc..a61b9c8 100644 --- a/templates/strategy_tw.html +++ b/templates/strategy_tw.html @@ -209,10 +209,6 @@ div.card{ {% endblock %} - - - - {% block script %}