Skip to content

Commit

Permalink
initial flask setup
Browse files Browse the repository at this point in the history
  • Loading branch information
charredlot committed Nov 11, 2017
1 parent 92cf8a2 commit 0c3a750
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
findaride_site/__pycache__
8 changes: 8 additions & 0 deletions findaride_site/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from flask import Flask, render_template


app = Flask(__name__)

@app.route("/")
def index():
return render_template("index.html")
9 changes: 9 additions & 0 deletions findaride_site/templates/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Find a Ride</title>
</head>
<body>
</body>
</html>
2 changes: 2 additions & 0 deletions run_site.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from findaride_site import app
app.run(debug=True)

0 comments on commit 0c3a750

Please sign in to comment.