Simple SMS reporting proof of concept https://courier-bot.etiennebaque.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Etienne Baqué 80813d6cbf
Updated readme
1 year ago
app Using same color for jquery highlight 1 year ago
bin Initial commit 1 year ago
config Removed ActionCable route 1 year ago
db Added received_at column to messages 1 year ago
lib Added reset db rake task 1 year ago
log Initial commit 1 year ago
public Initial commit 1 year ago
storage Initial commit 1 year ago
tmp Initial commit 1 year ago
vendor Initial commit 1 year ago
.gitignore Added secrets.yml 1 year ago
.ruby-version Initial commit 1 year ago
Capfile Added capistrano rbenv 1 year ago
Gemfile Added Redis gem 1 year ago
Gemfile.lock Added Redis gem 1 year ago
README.md Updated readme 1 year ago
Rakefile Initial commit 1 year ago
config.ru Initial commit 1 year ago
package.json Initial commit 1 year ago

README.md

Courier Bot

Courier Bot is a simple SMS reporting proof of concept. This application is the result of observations made by reading about projects used in humanitarian aid and disaster relief over the past years (projects such as FrontlineSMS, Ushahidi, Needslist...).

This project was built using Rails 5. It’s using the TwilioSMS API and websockets through Rails 5 ActionCable. It also uses Devise for authentication, Bootstrap 4, and Redis.

Demo: https://courier-bot.etiennebaque.com (login: demo@example.com - password: sms_is_alive)

Development

git clone git@github.com:etiennebaque/courierbot.git
cd courierbot && bundle install
rails db:setup
rails s # App can be reached at http://localhost:3000

Third-party services

2 more things before you get started

  • (development only) Install Ngrok and run ./ngrok http 3000 to make your Rails app accessible publicly, via a secure tunnel.
  • You need to sign up to Twilio. -- Once you got access to the Twilio console, get a new phone number for incoming messages. -- If you’re using Twilio in dev, enter your ngrok url in the Messaging section of your Twilio phone number page. -- You will then have to set up these three environment variables locally, with values from your Twilio console, so that you can send text messages to your app:
    export TWILIO_ACCOUNT_SID=""
    export TWILIO_AUTH_TOKEN=""
    export TWILIO_PHONE_NUMBER=""