chat by server-sent-events, sinatra, puma, redis
- docker
- docker-compose
- npm
git clone https://github.com/kekemoto/chat-sse.git
cd chat-sse
docker-compose build
# Start server. If the file is changed, it will restart automatically.
docker-compose up -d
# Build client. If the file is changed, it will restart automatically.
npm run watch
Try to access http://localhost/
docker-compose stop