sasa1977 / demo_system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo system

https://www.youtube.com/watch?v=JvBT4XBdoUE

Getting started

Requires Erlang, Elixir, and node.js, as specified in the .tool-versions file. You can use asdf for that.

Building:

cd example_system
mix deps.get &&
pushd assets &&
npm install &&
popd &&
mix compile

Starting for development with live reload:

iex -S mix phx.server

Then, you can visit the following links:

Demo

Building and starting for production (in the background):

cd example_system
./rebuild.sh
./_build/prod/rel/system/bin/system start

Open the remote console:

./_build/prod/rel/system/bin/system remote_console

Hot upgrade with no downtime:

mix system.upgrade

About


Languages

Language:Elixir 93.0%Language:CSS 2.9%Language:JavaScript 2.3%Language:HTML 1.1%Language:Shell 0.7%