Code Monkey home page Code Monkey logo

hey-mom's Introduction

Getting Started

Gems

Before you start, make sure you run bundle install to install any missing Gems.

Environment variables

For example, on bash:

export TWILIO_ACCOUNT_SID=(get from ajay)
export TWILIO_AUTH_TOKEN=(get from ajay)
export HEYMOM_HOST='http://callmom.herokuapp.com'

Set up local database access

Note that currently only Postgres is supported

Create a copy of config/database.example.yml named config/database.yml and add the right settings for your local db.

For example,

development: &development
  adapter: postgresql
  database: heymom_dev
  username: [username]
  password: [password]
  host: localhost
  min_messages: warning

test: &test
  <<: *development
  database: heymom_test

Create a user with your test phone number

Note that only US phone numbers are supported for now.

Send at HTTP POST request to /register.

For example:

curl -d "" "http://127.0.0.1:5000/register?name=ajay&phone_number=19175551212&contact_name=mom&contact_phone_number=19736661313"

Running locally

foreman start -f Procfile-dev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.