Code Monkey home page Code Monkey logo

hello-epics-diagram-generator's Introduction

Trello board diagram generator

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.

Usage

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.

Requirements

Installation

  • 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

Server setup

  • 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

hello-epics-diagram-generator's People

Contributors

digitalronin avatar rrthomas avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.