sasa1977/demo_system

Elixir

244

67 commits

updated Dec 3, 2024

See the code

README

The newer version of the code which works with the latest Erlang, Elixir, and Phoenix, can be found here.

Demo system

The original demo used in The Soul of Erlang and Elixir talk.

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

Contributors

sasa1977

66 commits

AlphaHydrae

1 commits

sasa1977/demo_system

Elixir

244

67 commits

updated Dec 3, 2024

See the code

README

The newer version of the code which works with the latest Erlang, Elixir, and Phoenix, can be found here.

Demo system

The original demo used in The Soul of Erlang and Elixir talk.

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

Contributors

sasa1977

66 commits

AlphaHydrae

1 commits

Languages

Elixir

87.0%

HTML

7.5%

CSS

2.7%

JavaScript

2.2%