Skip to content

Commit

Permalink
initialized flask api + heroku app
Browse files Browse the repository at this point in the history
  • Loading branch information
KarinePistili committed Apr 13, 2021
1 parent e0d773c commit 52a8d97
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.virtualenv
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: gunicorn wsgi:app
7 changes: 7 additions & 0 deletions app/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from flask import Flask

app = Flask(__name__)

@app.route('/')
def hello_world():
return 'hello world'
Binary file added requirements.txt
Binary file not shown.
1 change: 1 addition & 0 deletions runtime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-3.8.8
4 changes: 4 additions & 0 deletions wsgi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from app.main import app

if __name__ == "__main__":
app.run()

0 comments on commit 52a8d97

Please sign in to comment.