Skip to content

Commit

Permalink
Add sample config file
Browse files Browse the repository at this point in the history
  • Loading branch information
zuzust committed Jan 31, 2018
1 parent ebe066e commit eb0f844
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.serverless
.env*
config.*
!config.*.sample
tmp
.coveralls.yml

Expand Down
20 changes: 20 additions & 0 deletions config.json.sample
Original file line number Diff line number Diff line change
@@ -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"
}
}
1 change: 1 addition & 0 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package:
- node_modules/**
- .gitignore
- .git/**
- config.json.sample
- LICENSE
- README.md

Expand Down

0 comments on commit eb0f844

Please sign in to comment.