Created
February 9, 2020 03:43
-
-
Save dmahugh/9ce46e2c335103693cbbb8c48efd72b5 to your computer and use it in GitHub Desktop.
simple Flask app for GAE deployment example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask, render_template | |
app = Flask(__name__) | |
@app.route("/") | |
def homepage(): | |
return render_template("page.html", title="HOME PAGE") | |
@app.route("/docs") | |
def docs(): | |
return render_template("page.html", title="docs page") | |
@app.route("/about") | |
def about(): | |
return render_template("page.html", title="about page") | |
if __name__ == "__main__": | |
app.run(debug=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment