8000 GitHub - bossiernesto/demo_system
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bossiernesto/demo_system

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Demo with multiple instances

iex --name node1@127.0.0.1 --cookie super_secret -S mix phx.server

Para levantar otro servicio basta con hacer...

mix System.Node2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 87.0%
  • HTML 7.5%
  • CSS 2.7%
  • JavaScript 2.2%
  • Shell 0.6%
0