This project generates a PNG file showing the relationship of cards on a Trello board which represent interdependent tasks.
The ruby script graph-from-trello.rb walks a (hardcoded) Trello board that uses the HelloEpics plugin to define parent/child relationships between cards.
make
This will run the ruby script to fetch data from Trello
and create the diagram.gv
file. It will then run dot
to generate diagram.png
and open it (using Preview).
Make will only run the script if either diagram.gv or
diagram.png is out of date. Use make clean
to delete
all the diagram.*
files, then run make
to recreate
them.
bundle install
- or your own variant of it- Visit https://trello.com/app-key and generate Trello API credentials
cp dotenv.example .env
- then edit .env to add your Trello API credentials
make deploy
- Run
./setup-vps.sh
on the VM - Run
bundle install
on the VM make ssh
tmux
- Add this to crontab
*/5 * * * * cd /root; make
- Run the server
. .env
rackup -o 0.0.0.0
Ctrl-B D
to disconnect from tmux