Sync Example Rails Application
This repo includes a basic Rails todo application with projects, todos, users, and comments for use in demonstrating the integration of Sync, a gem for making your Rails applications realtime.
$ git clone https://github.com/chrismccord/sync_example
$ cd sync_example
$ bundle
$ rails g sync:install
$ rake db:create
$ rake db:migrate
$ rake db:seed
- Edit
config/sync.yml
to include your Faye or Pusher credentials - If using Faye, run the Faye server:
rackup sync.ru -E production
You can log in and explore the app by visiting the root url and logging in with user@example.com
and password