NOTE: This demo application is no longer maintained. Please, refer to a new AnyCable Rails Demo.
Docker development environment
For MacOS just use official app.
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
First, run the following command to build images and provision the application:
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.