Example app in ruby using handshake-js
JavaScript Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
public/javascripts
.env.example
.gitignore
.rspec
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru

README.md

handshakejs-example-ruby

Example of using handshakejs-script with a ruby Sinatra app.

You can view it in action here.

Usage

Create an account at http://handshakejs-signup.herokuapp.com/.

git clone https://github.com/handshakejs/handshakejs-example-ruby.git
cd handshakejs-example-ruby
cp .env.example .env

Edit the contents of .env, then run the following.

bundle
bundle exec foreman start

Visit http://localhost:5000 in your browser.

Deploying to Heroku

Create an account at http://handshakejs-signup.herokuapp.com/.

git clone https://github.com/handshakejs/handshakejs-example-ruby.git
cd handshakejs-example-ruby
heroku create
heroku config:set SALT=your_salt
heroku config:set APP_NAME=your_app_name
git push heroku master