Ruby backend for web-based chat application that features Bandwidth's SMS and MMS API capabilities
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.gitignore
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Gemfile
Gemfile.lock
ISSUE_TEMPLATE.md
LICENSE
PULLREQUEST.md
PULL_REQUEST_TEMPLATE.md
Procfile
README.md
Rakefile
app.json
app.rb
build-frontend.sh
config.ru
spa_backend.rb
websocket_backend.rb

README.md

Ruby Web SMS Chat

Ruby backend for web-based chat application that features Catapult SMS and MMS capabilities.

Deploy

Demos uses of the:

Prerequisites

Deploy To PaaS

Deploy

Install on Local Machine

# clone the app with submodules

git clone git@github.com:BandwidthExamples/ruby-web-sms-chat.git

# install dependencies

bundle install

# prepare frontend

bundle exec rake

# run the app

bundle exec puma -p 3000

Run in another terminal

ngrok http 3000 #to make ngrok to open external access to localhost:3000 

Open in browser your external url (it will be shown by ngrok).

Deploy on Heroku Manually

Create account on Heroku and install Heroku Toolbel if need.

Run heroku create to create new app on Heroku and link it with current project.

Run git push heroku master to deploy this project.

Run heroku open to see home page of the app in the browser