changed default port

main
oscar 4 days ago
parent 14f79cf4ff
commit 9ae7e10e07

@ -12,7 +12,7 @@ PERSON_A = os.environ.get("SPLITBUDDY_ME", "Me") # you
PERSON_B = os.environ.get("SPLITBUDDY_ROOMIE", "Idan") # roommate PERSON_B = os.environ.get("SPLITBUDDY_ROOMIE", "Idan") # roommate
DEFAULT_ACTOR = os.environ.get("SPLITBUDDY_ACTOR", "anon") # who is using this device (optional) DEFAULT_ACTOR = os.environ.get("SPLITBUDDY_ACTOR", "anon") # who is using this device (optional)
DEFAULT_A_SHARE_PCT = os.environ.get("SPLITBUDDY_DEFAULT_A_SHARE_PCT", 66.6667) # <-- you pay 2/3 by default DEFAULT_A_SHARE_PCT = os.environ.get("SPLITBUDDY_DEFAULT_A_SHARE_PCT", 66.6667) # <-- you pay 2/3 by default
WEBAPP_PORT = os.environ.get("SPLITBUDDY_WEBAPP_PORT", 42069) WEBAPP_PORT = os.environ.get("SPLITBUDDY_WEBAPP_PORT", 5050)
# ----- Template filters ----- # ----- Template filters -----
@app.template_filter('human_time') @app.template_filter('human_time')
@ -418,4 +418,4 @@ if __name__ == "__main__":
os.makedirs(os.path.dirname(DB_PATH) or ".", exist_ok=True) os.makedirs(os.path.dirname(DB_PATH) or ".", exist_ok=True)
with app.app_context(): with app.app_context():
init_db() init_db()
app.run(debug=True, port=WEBAPP_PORT) app.run(debug=True, port=WEBAPP_PORT)
Loading…
Cancel
Save