From: Bryan Date: Tue, 10 Dec 2013 02:43:20 +0000 (-0500) Subject: Filling out additional example files for storing secrets. X-Git-Tag: release-20150131~386^2~24 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6787f2bbd0252cc5cc2a921c39b842e826e60ac4;p=oweals%2Fkarmaworld.git Filling out additional example files for storing secrets. --- 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 deleted file mode 100644 index ee87d22..0000000 --- a/karmaworld/secret/drive.py +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python -# -*- coding:utf8 -*- -# Copyright (C) 2012 FinalsClub Foundation -""" DO NOT check this file into source control """ - -GOOGLE_USER = 'GDRIVE_ACCOUNT' diff --git a/karmaworld/secret/drive.py.example b/karmaworld/secret/drive.py.example new file mode 100644 index 0000000..ee87d22 --- /dev/null +++ b/karmaworld/secret/drive.py.example @@ -0,0 +1,6 @@ +#!/usr/bin/env python +# -*- coding:utf8 -*- +# Copyright (C) 2012 FinalsClub Foundation +""" DO NOT check this file into source control """ + +GOOGLE_USER = 'GDRIVE_ACCOUNT'