Appointment Reminders

by TwilioDevEd

GitHub Readme.md

Twilio

Appointment Reminders with Ruby on Rails and Twilio

Build Status

Make sure your customers show up for their scheduled appointments with automated reminders. Deliver reminders via SMS text messages that don't get ignored like your e-mails.

Read the full tutorial here!

Local development

This project is built using Ruby on Rails Framework.

  1. First clone this repository and cd into it.

    git clone git@github.com:TwilioDevEd/appointment-reminders-rails.git
    cd appointment-reminders-rails
  2. Install the dependencies.

    $ bundle install
  3. Copy the .env.example file to .env, and edit it including your credentials for the Twilio API (found at https://www.twilio.com/console/account/settings). You will also need a Twilio Number.

    Run source .env to export the environment variables.

  4. Create the database and run migrations.

    Make sure you have installed PostgreSQL. If on a Mac, I recommend Postgres.app.

    $ bundle exec rake db:setup
  5. Make sure the tests succeed.

    $ bundle exec rake
  6. Start delayed jobs.

    $ ./bin/delayed_job start
  7. Start the development server.

    $ bundle exec rails s
  8. Check it out at http://localhost:3000.

Meta

  • No warranty expressed or implied. Software is as is. Diggity.
  • MIT License
  • Lovingly crafted by Twilio Developer Education.