Skip to content
An experiment with Phoenix Channels, GenEvents, React and Flux.
JavaScript Elixir
Latest commit 5132146 Apr 11, 2015 @fxg42 Merge pull request #2 from optikfluffel/update-phoenix
Upgrade phoenix to v0.11
Failed to load latest commit information.
config upgrade phoenix to v0.11 Apr 9, 2015
lib upgrade phoenix to v0.11 Apr 9, 2015
priv/static upgrade phoenix to v0.11 Apr 9, 2015
test Initial commit Feb 9, 2015
web bump browserify version Apr 9, 2015
.gitignore Initial commit Feb 9, 2015
README.md upgrade to phoenix 0.9 Apr 7, 2015
mix.exs upgrade phoenix to v0.11 Apr 9, 2015

README.md

Fun with Phoenix Channels, Flux and React

An experiment built to play with various concepts including:

Basic concept

Basic concept

Running

To start the Phoenix application:

  1. Make sure you have Redis installed and running.
  2. Install dependencies with mix deps.get
  3. Start Phoenix endpoint with mix phoenix.server

To start the client:

  1. cd web/js
  2. Install dependencies with npm install
  3. Compile and watch the client code with npm start

Now you can visit localhost:4000 from your browser.

... or watch it here.

Releasing

First, build the minified version of the client:

  1. cd web/js/
  2. Build the bundle with npm run build

Then create the release and start the application:

  1. export MIX_ENV=prod
  2. mix release
  3. rel/ex_react_ws/bin/ex_react_ws start

Now you can visit localhost:4000 from your browser.

Something went wrong with that request. Please try again.