From 6787f2bbd0252cc5cc2a921c39b842e826e60ac4 Mon Sep 17 00:00:00 2001 From: Bryan Date: Mon, 9 Dec 2013 21:43:20 -0500 Subject: [PATCH] Filling out additional example files for storing secrets. --- fabfile.py | 2 +- karmaworld/secret/client_secrets.json.example | 9 +++++++++ karmaworld/secret/{drive.py => drive.py.example} | 0 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 karmaworld/secret/client_secrets.json.example rename karmaworld/secret/{drive.py => drive.py.example} (100%) diff --git a/fabfile.py b/fabfile.py index 41ac5a9..b54cd52 100644 --- a/fabfile.py +++ b/fabfile.py @@ -252,7 +252,7 @@ def check_secrets(): """ secrets_path = env.code_root + '/karmaworld/secret' - secrets_files = ('filepicker.py', 'static_s3.py', 'db_settings.py') + secrets_files = ('filepicker.py', 'static_s3.py', 'db_settings.py', 'drive.py', 'client_secrets.json') errors = [] for sfile in secrets_files: diff --git a/karmaworld/secret/client_secrets.json.example b/karmaworld/secret/client_secrets.json.example new file mode 100644 index 0000000..08df85e --- /dev/null +++ b/karmaworld/secret/client_secrets.json.example @@ -0,0 +1,9 @@ +{ + "web": { + "client_id": "", + "client_secret": "", + "redirect_uris": ["https://"], + "auth_uri": "", + "token_uri": "" + } +} diff --git a/karmaworld/secret/drive.py b/karmaworld/secret/drive.py.example similarity index 100% rename from karmaworld/secret/drive.py rename to karmaworld/secret/drive.py.example -- 2.25.1