Skip to content

rails-lambda/websocket-demo

Repository files navigation

Rails & ActionCable WebSockets on Lambda

Lamby: Simple Rails & AWS Lambda Integration using Rack.

A simple Rails application demonstrating the use of Hotwire and WebSockets. Works in development now with Redis but will eventually soon on AWS Lambda.

Setup & Test

This project is built for GitHub Codespcaes using the Development Container specification. Once you have the repo cloned and setup with a dev container using either Codespaces or VS Code, run the following commands. This will install packages and run tests.

$ ./bin/setup
$ ./bin/dev

Using VS Code

If you have the Visual Studio Code Dev Container extension installed you can easily clone this repo locally, use the "Open Folder in Container..." command. This allows you to use the integrated terminal for the commands above.