Source code for our step by step tutorial on how to deploy a Rails app to production and staging with Docker and Docker Compose.
The base Rails app is the Action Cable example by DHH.
- Open two browsers with separate cookie spaces (like a regular session and an incognito session).
- Login as different people in each browser.
- Go to the same message.
- Add comments in either browser and see them appear real-time on the counterpart screen.