forked from Befa79/hackathon-mindfulness
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.py
38 lines (24 loc) · 704 Bytes
/
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import os
from flask import (Flask, render_template, redirect, url_for)
if os.path.exists("env.py"):
import env
app = Flask(__name__)
@app.route("/")
def index():
return render_template("index.html")
@app.route("/about")
def about():
return render_template("about.html")
@app.route("/clearyourhead")
def clearyourhead():
return render_template("clear-your-head.html")
@app.route("/mydailylift")
def mydailylift():
return render_template("my-daily-lift.html")
@app.route("/login")
def login():
return render_template("login.html")
if __name__ == "__main__":
app.run(host=os.environ.get("IP"),
port=int(os.environ.get("PORT")),
debug=True)