Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

anycable/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.