diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..8001d1a --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: gunicorn app:app \ No newline at end of file diff --git a/app.py b/app.py index 482ff6c..f1da1fe 100644 --- a/app.py +++ b/app.py @@ -6,9 +6,9 @@ from sendgrid import SendGridAPIClient from sendgrid.helpers.mail import Mail import csv import os -from dotenv import load_dotenv -from pprint import pprint -load_dotenv() +# from dotenv import load_dotenv +# from pprint import pprint +# load_dotenv() app = Flask(__name__) app.config['SECRET_KEY'] = os.environ.get('SECRET_KEY') @@ -202,5 +202,5 @@ def logout(): return redirect('/') -if __name__ == '__main__': - app.run(debug=True) +# if __name__ == '__main__': +# app.run(debug=True) diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..ac87e83 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,19 @@ +# Automatically generated by https://github.com/damnever/pigar. + +# Attendance/app.py: 1 +Flask == 2.0.1 + +# Attendance/app.py: 2 +# Attendance/test.py: 1 +Pyrebase == 3.0.27 + +# Attendance/app.py: 9 +# Attendance/test.py: 3 +python_dotenv == 0.19.0 + +# Attendance/app.py: 4 +pytz == 2020.1 + +# Attendance/app.py: 5,6 +sendgrid == 6.7.1 +gunicorn == 20.1.0 \ No newline at end of file diff --git a/templates/login.html b/templates/login.html index 65b084e..8a564fa 100644 --- a/templates/login.html +++ b/templates/login.html @@ -16,7 +16,7 @@
-

Login

+

Attendance (β) | Login