From eb0f8440ce00399326e0b2a1f73af39a0f56c6ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carles=20Mui=C3=B1os?= Date: Wed, 31 Jan 2018 14:06:35 +0100 Subject: [PATCH] Add sample config file --- .gitignore | 1 + config.json.sample | 20 ++++++++++++++++++++ serverless.yml | 1 + 3 files changed, 22 insertions(+) create mode 100644 config.json.sample diff --git a/.gitignore b/.gitignore index 0c3a816..16d870f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ .serverless .env* config.* +!config.*.sample tmp .coveralls.yml diff --git a/config.json.sample b/config.json.sample new file mode 100644 index 0000000..4726e62 --- /dev/null +++ b/config.json.sample @@ -0,0 +1,20 @@ +{ + "service_id": "YOUR_SERVICE_ID", + "project_id": "YOUR_PROJECT_ID", + "credentials_file": "YOUR_ABS_PATH_TO_YOUR_CREDENTIALS_FILE", + "transport": { + "service": "Gmail", + "auth": { + "type": "OAuth2", + "user": "YOUR_AUTHENTICATED_EMAIL_ADDRESS", + "clientId": "YOUR_CLIENT_ID", + "clientSecret": "YOUR_CLIENT_SECRET", + "refreshToken": "YOUR_REFRESH_TOKEN" + } + }, + "envelope": { + "sender": "FROM_EMAIL_ADDRESS", + "recipient": "TO_EMAIL_ADDRESS", + "subject": "EMAIL_SUBJECT" + } +} diff --git a/serverless.yml b/serverless.yml index 542823b..3263553 100644 --- a/serverless.yml +++ b/serverless.yml @@ -16,6 +16,7 @@ package: - node_modules/** - .gitignore - .git/** + - config.json.sample - LICENSE - README.md