This is the source code for the Drab Proof of Concept page.
Please check the Drab Source.
First, have Erlang and Elixir installed. Then install hex
mix local.hex
Download and install Drab-Poc:
git clone git@github.com:grych/drab-poc.git
cd drab-poc
mix deps.get
Get node.js and npm. Then install brunch packages:
npm install && node node_modules/brunch/bin/brunch build
If developing a production version, create config/prod.secret.exs
(it is not under git) and compile all:
MIX_ENV=prod mix compile
node_modules/brunch/bin/brunch build --production
MIX_ENV=prod mix phoenix.digest
Start the server
mix phoenix.server
On production
PORT=6503 MIX_ENV=prod mix phoenix.server
This software is written by Tomek 'Grych' Gryszkiewicz. Do not hesitate to contact me at grych@tg.pl or visit my web page.