https://github.com/antonmi/alf_monitor
ALF Monitor
https://github.com/antonmi/alf_monitor
Last synced: about 1 year ago
JSON representation
ALF Monitor
- Host: GitHub
- URL: https://github.com/antonmi/alf_monitor
- Owner: antonmi
- Created: 2022-03-31T18:30:03.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-10T13:55:09.000Z (over 2 years ago)
- Last Synced: 2025-03-24T10:12:22.240Z (about 1 year ago)
- Language: Elixir
- Size: 1.71 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ALFMonitor
### Monitor your ALF application!
See:
- [Video](https://www.youtube.com/watch?v=8yqXyUR4hBA)
- [ALF — Flow-based Application Layer Framework](https://github.com/antonmi/alf)
- [TicTacToe example](https://github.com/antonmi/alf_monitor_tictactoe)
```sh
docker compose up
# or
docker compose up --build
# in other tab
docker compose watch
```
[](https://www.youtube.com/watch?v=8yqXyUR4hBA)
localhost:4000 - Monitor
localhost:8080 - The game. Open in two browsers
### Issues
docker system prune --all --force --volumes
### Run without docker
```sh
# tictactoe backend
iex --sname tictactoe@localhost -S mix run --no-halt
# tictactoe fronted
npm run serve
# monitor
NODE=tictactoe@localhost iex --sname monitor@localhost -S mix phx.server
```
#### Notes
Simple websockets: https://medium.com/@loganbbres/elixir-websocket-chat-example-c72986ab5778