Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

TwilioDevEd/verify-v2-quickstart-rails

Repository files navigation

Twilio

This application example demonstrates how to do simple phone verification with Ruby on Rails Framework, and Twilio Verify.

We are currently in the process of updating this sample template. If you are encountering any issues with the sample, please open an issue at github.com/twilio-labs/code-exchange/issues and we'll try to help you.

Local Development

  1. Clone the project and cd into it.

    git clone ... cd verify-v2-quickstart-rails/
  2. Copy .env.example to .env to setup you environment.

    cp .env.example .env
  3. Edit .env to add your Twilio access keys. For Twilio API credentials find here and for Verification Service SID here.

    TWILIO_ACCOUNT_SID=ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX TWILIO_AUTH_TOKEN=7axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx TWILIO_VERIFICATION_SID=VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 
  4. Install gem dependencies

    bundle install
  5. Run migrations to create the database.

    rails db:migrate
  6. Run the application.

    rails server 
  7. Check it out at http://localhost:3000

That's it!

Run the tests

  1. Run minitests

    rails test

Meta

  • No warranty expressed or implied. Software is as is. Diggity.
  • The CodeExchange repository can be found here.
  • MIT License
  • Lovingly crafted by Twilio Developer Education.

About

No description or website provided.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6