Skip to content
Anycable demo application
Ruby HTML CoffeeScript CSS JavaScript Dockerfile Other
Branch: master
Clone or download

README.md

AnyCable Demo

NOTE: This demo app is under reconstruction 🚑. The only working local setup is the Docker one. Feel free to skip the rest of the readme. We're working on a new shiny version. Stay tuned!

Docker development environment

Requirements

  • docker and docker-compose installed.

For MacOS just use official app.

  • dip installed.

You can install dip either as Ruby gem:

gem install dip

Or using Homebrew:

brew tap bibendi/dip
brew install dip

Or by downloading a binary (see releases):

curl -L https://github.com/bibendi/dip/releases/download/v5.0.0/dip-`uname -s`-`uname -m` > /usr/local/bin/dip
chmod +x /usr/local/bin/dip

Usage

First, run the following command to build images and provision the application:

dip provision

Then, you can start Rails server alongside with AnyCable RPC and WebSocket server by running:

dip up web

Then go to http://localhost:3000/ and see the application in action.

You can’t perform that action at this time.