Ruby on Rails 4.x > Ruby 2.0 >
#Spark/Tropo Integration Server
The first step is to install your own Spark/Tropo Integration Server, instructions can be found here. (github.com/jfield44/TropoSparkIntegration)
#Tropo Fault Reporting Server
Create a Spark Account to use for the demo (any free email provider will work)
Get the API key from developer.ciscospark.com and add it to /config/initializers/cisco_spark.rb
On Line 65 enter the path of your web server to complete the Webhook URL
On Line 66 enter the path of your Tropo/Spark Integration web server to complete the Webhook URL.
On 68 of Faults_Controller add the email address of your Tropo/Spark Integration Bot
Bundle Install and Deploy
#Tropo Script
Find the file tropofaultreport.rb in this file structure (github.com/jfield44/TropoFaultReport/tree/master/tropo_script)
Create a new application on Tropo.com
Paste in the contents of tropofaultreport.rb into that script and assign a phone number
Add your web server URL at lines 17 and 43 of the Tropo Script
# Installation
bundle install
rake db:create
rake db:migrate