Skip to content

Web service application for receiving Tropo recordings from the cloud and pushing them to Amazon S3

License

Notifications You must be signed in to change notification settings

voxeolabs/tropo-audiofiles-to-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tropo AudioFiles to Amazon S3 Server

Overview

This app provides a Web Service written with Sinatra to allow for files recorded on Tropo to be pushed from the Tropo cloud to Amazon S3. This application may be run on your own servers or easily deployed to Heroku.

Requirements

  • Ruby 1.8.6+
  • Gems
    • Sinatra 0.9.2+
  • Amazon S3 Account
  • Optional
    • Heroku Account
    • Gems
      • Heroku 1.1+

Installation

First, get the app:

git clone git://github.com/voxeo/tropo-audiofiles-to-s3.git

Copy the sample configuration file for Amazon S3:

cp ~/application-directory/config/amazon_s3.yml.sample ~/application-directory/config/amazon_s3.yml

Install the required gems:

sudo gem install sinatra aws-s3 heroku

Configuration

Configure your Amazon S3 Bucket, Access Key and Secret Access key here:

~/application-directory/config/amazon_s3.yml

Running on Your Own Server

To run the app you may do the following:

ruby ~/application-directory/tropo-audiofiles-to-s3.rb

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/post_audio_to_s3.

About

Web service application for receiving Tropo recordings from the cloud and pushing them to Amazon S3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages