Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.15 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.15 KB

Starjumps

Example Phoenix application illustrating using a custom `Phoenix.Socket.Transport implementation to send binary messages over a websocket. It alternates two images to show a stick figure doing star jumps.

For a detailed description see the tutorial post, which is here.

A Content Security Policy has been added for the purposes of this post.

Installation and running

This is a standard Phoenix install so mmake sure you have Elixir and Node installed.

git clone git@github.com:paulanthonywilson/binary-websockets-example.git
cd binary-websockets-example
mix deps.get
cd assets
npm install
cd ..
iex -S mix phx.server

Now you can visit localhost:4000 from your browser.