Skip to content

A Sinatra example for pushing Tropo transcription results to MongoDB on Heroku

License

Notifications You must be signed in to change notification settings

tropo/tropo-results-mongoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tropo Transcription Results to MongoDB @ Heroku

Overview

This app provides a Web Service written with Sinatra to allow for transcriptions from Tropo to be pushed from the Tropo cloud to MongoDB collection running on Heroku.

Requirements

  • Ruby 1.8.6+
  • Gems
    • Heroku
    • Sinatra
    • Mongo
    • Crack
    • Haml
    • bson_ext (for better MongoDB performance)

Installation

First, get the app:

git clone git://github.com/voxeo/tropo-results-mongodb.git

Install the required gems:

sudo gem install sinatra heroku mongo crack haml bson_ext

Deploying to Heroku

It is possible to push this app to be hosted by Heroku. First you will need a Heroku account and the Heroku gem:

sudo gem install heroku

After you have cloned the repo from Github above, you may do the following:

cd ~/application-directory
heroku create my-app-name
git push heroku master

(More from Heroku here)

Thats it, you may now start using the URL http://my-app-name.heroku.com/transcription_results.

About

A Sinatra example for pushing Tropo transcription results to MongoDB on Heroku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages