This is a simple demo app for Cape.JS built on the Ruby on Rails.
Visit Cape.JS Documentation to learn about Cape.JS in general.
In order to run this demo application, you need following softwares and libraries:
$ git clone https://github.com/oiax/capejs-demo-on-rails.git
$ cd capejs-demo-on-rails
$ bundle
$ npm install
$ bin/rake db:setup
To start the application as a server, run this command on your terminal:
$ bin/rails s
Then, you can use it by accessing http://localhost:3000
with a web browser.
Enter Ctrl-C
to stop it.
If you want to allow users to access this app from the computers other than yours,
you should open the port 3000
of your computer and start the server
with the following command:
$ bin/rails s -b 0.0.0.0
You can login to this application using the following credentials:
User name: alice
Password: hotyoga