Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danhper/leaves-parse-sample
https://github.com/danhper/leaves-parse-sample
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/danhper/leaves-parse-sample
- Owner: danhper
- Created: 2014-11-06T11:06:22.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-06T11:06:29.000Z (about 10 years ago)
- Last Synced: 2024-11-15T10:57:34.615Z (2 months ago)
- Language: CoffeeScript
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample email sending with Parse and Sendgrid
Copy `grunt.hooks.coffee`, and `cloud/main.js` in your project.
Feel free to edit the files if you need.Run
```sh
$ npm install --save-dev fs-extra
```as it is used in the Parse `hook`.
Then, edit `.leavesrc.local` to make it look like this.
```json
{
"parse": { CONTENT OF global.json },
"sendgrid": {
"username": "SENDGRID_USERNAME",
"password": "SENDGRID_PASSWORD"
}
}
````CONTENT OF global.json` is the file generated with `parse new command`.
It should be valid JSON.Then, when running `leaves build`, a `parse` directory should be generated.
You just need to `cd` in it and run `parse deploy` to deploy your poject.