Some ppt slides for you. Slide share soon to come.
script/plugin install git://github.com/blythedunham/smsonrails
At the end of the snowgiraffe SMS show, I demoed the sms on rails engine plugin. I’ll build it into a gem soon, but by using the generator there shouldn’t be any collisions, and the plugin should be version safe as everything is namespaced and modularized. Anyhow, here’s the script:
> rails dog --database=mysql > mysqladmin -uroot create dog_development > cd dog > script/plugin install git://github.com/blythedunham/smsonrails > script/generate sms_on_rails setup --default-service-provider=clickatell > rake db:migrate > mate config/environment.rb
Sign up for clickatell and update the environment.rb with your credentials. Alternatively, use the email gateway (specify no default service provider) and setup your mail settings.
The Generator does the following:
- copy images and stylesheets to your public directory
- generates 3 database migrations (the 2nd and 3rd have a 2 and 3 appended)
- installs clickatell gem and static_record_cache plugin (for email carriers caching)
- insert configuration into environment.rb