Skip to content

datawowio/anycable_demo

 
 

Repository files navigation

AnyCable Demo

NOTE: This demo application is no longer maintained. Please, refer to a new AnyCable Rails Demo.

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.

About

Anycable demo application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 79.5%
  • HTML 9.6%
  • CoffeeScript 6.6%
  • CSS 1.5%
  • JavaScript 1.2%
  • Dockerfile 1.2%
  • Other 0.4%