An OTP application
Make sure to open your browser and the url from the current page be the app page.
Live reload to watch changes in erlang modules and assets files
$ ./ephone_book.sh dev-watch
Live reload for erlang modules
$ ./ephone_book.sh run dev
Live reload for assets files
$ ./ephone_book.sh watch
$ rebar3 compile
$ rebar3 shell
$ rebar3 as prod release
$ rebar3 as prod shell
$ ./docker.sh build
Attached to the console (interactive)
$ ./docker.sh run it
or detached
$ ./docker.sh run d
navigate to http://0.0.0.0:2938
Command used to create the app:
$ flyctl launch --image williamthome/ephone_book --name ephone-book
$ ./ephone_book.sh deploy