Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Goals emailed daily.
Ruby
branch: master
Failed to load latest commit information.
.gitignore
DailyGoal.worker
Readme.md
email.erb
goals.rb
payload.sample.json

Readme.md

Daily Goals

Goals emailed daily.

This is a quick hack to email your goals to you every day. It uses Google Drive, Iron.io, and SendGrid.

It will send you a selection of goals from a Google Spreadsheet broken up into categories (like so), by randomly picking a goal from each category.

Getting Started

Google Spreadsheet

This repository uses Google Drive as a datastore. You'll need to create a Google spreadsheet with your goals in it. The header row denotes the category of the goal, every subsequent cell in that column is a goal.

Google Spreadsheet Example

Uploading to Iron.io

To use this, you must have an Iron.io account. It's assumed you have a project already started. You'll also need to have the IronWorker CLI installed.

  1. Clone the repository to your computer: git clone https://github.com/nquinlan/daily-goals.git daily-goals
  2. Move into the repository: cd daily-goals
  3. Download the iron.json file for your project, move this into your repository.
  4. Upload the worker to Iron.io: iron_worker upload DailyGoal
  5. Finally, schedule a task to run the uploaded code daily. Make sure to provide it with a payload, containing your Google Credentials, SendGrid Credentials, Google Drive Spreadsheet Key, and your email.

Remember Your Goals

EC2 Not Echinacea

Something went wrong with that request. Please try again.