28mm / blast-radius

Interactive visualizations of Terraform dependency graphs using d3.js
https://28mm.github.io/blast-radius-docs/
MIT License
2.04k stars 257 forks source link

Support windows (it's pretty easy) #54

Closed infa-mpaetzol closed 5 years ago

infa-mpaetzol commented 5 years ago

To support windows :

In server.py just change a few lines: def index():

we need terraform, graphviz, and an init-ed terraform project.

if not which('terraform') or not which('dot'):
    if not which('terraform.exe') or not which('dot.exe'):
        return render_template('error.html')
if not os.path.exists('.terraform'):
    return render_template('error.html')