Skip to content

Simple chat written using Erlang/OTP as backend and WebSockets as transport.

License

Notifications You must be signed in to change notification settings

Bytamine/websocket_chat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebSocket chat

Simple web-chat written in Erlang and based on WebSockets as transport layer.

Extra goal (not done): do it without cowboy. :)

Deploy using Vagrant & Docker

Prerequisites

  1. Vagrant
  2. (Optional) vagrant plugin install vagrant-cachier to speed-up deploy by sharing package cache among Vagrant VMs

Deploy

  1. vagrant up --provision to setup and provision master and minion VMs with Salt
  2. Open http://localhost:8080

Wipe out

  1. vagrant destroy

Docker development VM

The optional dev VM with Docker can be added if you do export USE_DEV_VM=1 before running Vagrant. This VM may be used to debug Docker image builds on machines that don't support Docker natively (e.g. pre-2010 MacBook Pro).

About

Simple chat written using Erlang/OTP as backend and WebSockets as transport.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SaltStack 45.1%
  • Erlang 32.0%
  • HTML 7.7%
  • JavaScript 7.0%
  • Ruby 4.1%
  • Python 2.1%
  • Other 2.0%