From d31347afc550a6744b7071d075b1764c8405b84d Mon Sep 17 00:00:00 2001 From: Zoe Edelson Date: Tue, 7 Jan 2020 15:19:24 +0200 Subject: [PATCH 1/2] updated requirements --- .idea/.gitignore | 3 +++ .idea/inspectionProfiles/profiles_settings.xml | 6 ++++++ .idea/misc.xml | 7 +++++++ .idea/modules.xml | 8 ++++++++ .idea/python-sample.iml | 11 +++++++++++ .idea/vcs.xml | 6 ++++++ app.py | 3 ++- requirements.txt | 4 ++-- 8 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/python-sample.iml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..0e40fe8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ + +# Default ignored files +/workspace.xml \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..7a85af6 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..563d298 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/python-sample.iml b/.idea/python-sample.iml new file mode 100644 index 0000000..6711606 --- /dev/null +++ b/.idea/python-sample.iml @@ -0,0 +1,11 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app.py b/app.py index f64c9e7..e9051d4 100644 --- a/app.py +++ b/app.py @@ -1,6 +1,7 @@ import os from flask import Flask + app = Flask(__name__) @app.route('/') @@ -10,4 +11,4 @@ def hello(): if __name__ == '__main__': # Bind to PORT if defined, otherwise default to 5000. port = int(os.environ.get('PORT', 5000)) - app.run(host='0.0.0.0', port=port) \ No newline at end of file + app.run(host='0.0.0.0', port=port) diff --git a/requirements.txt b/requirements.txt index 0382aa2..f56e83b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Flask==0.9 +Flask==1.1.1 Jinja2==2.6 -Werkzeug==0.8.3 +Werkzeug==0.16.0 wsgiref==0.1.2 From ffc609718a0f8dfff2e6aa153ebc76fae06d2c08 Mon Sep 17 00:00:00 2001 From: Zoe Edelson Date: Tue, 7 Jan 2020 15:21:03 +0200 Subject: [PATCH 2/2] updated requirements --- requirements.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index f56e83b..3b6c2bb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Flask==1.1.1 -Jinja2==2.6 -Werkzeug==0.16.0 -wsgiref==0.1.2 +Flask +Jinja2 +Werkzeug +