Skip to content

dushi27/safeme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

130 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##SafeMe

Safeme enable users to alert their network if in a threatening situation with the simple press of their Jawbone fitness tracker. Please visit our [website] (https://safeme.herokuapp.com) or if you want to see pretter docs.

##Technical Specs

Safeme is Ruby on Rails app that integrate Jawbone API via oAuth2 to recognize an alert, Twilio API for messaging and calls, and Bootstrap for frontend.

##Creating a Local Copy and Testing

Step 1: Click the 'Fork' button on the top right on your screen. That will create a copy of the repo under your Github username.

Step 2: In your command line/ terminal run

$ git clone GIT-CLONE-URL 

GIT-CLONE-URL = https://github.com/dushi27/safeme.git

Step 3: Run the following commands to install the necessary gems

$ bundle install 

to migrate the database (This repository use Rails 4.1.1 if you are using older version migrate the test environment):

$ rake db:migrate

to run project in a locally

$ rails s 

NOTE: remember to add your Twilio credentials to environment variables to following variables before running the app TWILLIO_SID TWILLIO_TOKEN TWILLIO_NUMBER

To set environment variables on Linux environment

$ export SAMPLE_ENV_VAR=sunday

To see environment variables on Linux environment

$ printenv SAMPLE_ENV_VAR

###Testing

The application uses Rails test suite for automated testing. All the tests are located in the test directory.

To run all the existing tests;

$ rake test test/

About

Using wearable devices as an alert system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors