Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisz100 committed Apr 24, 2018
0 parents commit d09d533
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Very basic Flask app (python)

Environment Variables:
HELLO = Text to output in app

Opens port: 5000

Run:
`FLASK_APP=app.py flask run --host=0.0.0.0`
7 changes: 7 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import os
from flask import Flask
app = Flask(__name__)

@app.route("/")
def hello():
return os.environ['HELLO']
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Flask

0 comments on commit d09d533

Please sign in to comment.