The goal of this project is to learn about the channels/sockets that Phoenix uses to interact with JavaScript.
The webpage is designed to organize a queue for drinking mate.
Dependencies:
- Erlang
- Elixir and Phoenix
- Linux:
notify-send
- Ubuntu:
sudo apt install libnotify-bin
- Ubuntu:
To start the app:
- PROD:
MIX_ENV=prod make run
- DEV:
make run
To start the app for debugging:
- Run
mix setup
to install and setup dependencies - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
- The
Dockerfile
was created withmix phx.gen.release --docker
- To use the notifications with docker (Tested on Ubuntu)
sudo
has to be used.