From d19a8b9c5955ed0c541f5cf4c97d6a3c2230617a Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Tue, 6 Dec 2022 15:05:40 -0500 Subject: [PATCH] Add example .env --- .gitignore | 2 ++ goathacks/config.py.example | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 goathacks/config.py.example diff --git a/.gitignore b/.gitignore index b5a8ea2..dc6ec1b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,8 @@ config_hackWPI.py config.py admin/*.json admin/*.csv + +goathacks/config.py # Created by https://www.gitignore.io/api/web,vim,git,macos,linux,bower,grunt,python,pycharm,windows,eclipse,webstorm,intellij,jetbrains,virtualenv,visualstudio,visualstudiocode # Dev ENV Stuff diff --git a/goathacks/config.py.example b/goathacks/config.py.example new file mode 100644 index 0000000..f9421b0 --- /dev/null +++ b/goathacks/config.py.example @@ -0,0 +1,16 @@ +SQLALCHEMY_DATABASE_URI="postgresql://localhost/goathacks" +MAX_BEFORE_WAITLIST=1 +SECRET_KEY="bad-key-change-me" + +UPLOAD_FOLDER="./uploads/" + + +# Mail settings +MAIL_SERVER="localhost" +MAIL_PORT=25 +MAIL_USE_TLS=False +MAIL_USE_SSL=False +MAIL_USERNAME="dummy" +MAIL_PASSWORD="dummy" +MAIL_DEFAULT_SENDER="GoatHacks Team " +