grunt-angular-architecture-graph icon indicating copy to clipboard operation
grunt-angular-architecture-graph copied to clipboard

Write requirements on README

Open lucalanca opened this issue 10 years ago • 3 comments

and help to get people set things up.

lucalanca avatar Nov 27 '14 12:11 lucalanca

I have tried it out on a windows 7 laptop and a Manjor desktop (linux arch). This is mine short experience with the setup:

Windows

_Requirements_ I used the windows installer of graphviz: graphviz-X.XX.msi, remember to set the Path and point it to your bin directory. e.g. C:\Program Files (x86)\GraphvizX.XX\bin.

Manjaro 0.8.11 (arch linux)

_Requirements_ Install via yaourt the graphviz package e.g.: yaourt graphviz.

General

_Requirements_ Make sure the following grunt packages are installed:

You only need to load the grunt-angular-architecture-graph in your grunt file.

_Gruntfile_ Create the config in your grunt file, e.g.:

        angular_architecture_graph: {
            diagram: {
                files: {
                    // "PATH/TO/OUTPUT/FILES": ["PATH/TO/YOUR/FILES/*.js"]
                    "architecture": [
                        "<%= projectConfig.app %>/<%= projectConfig.project %>/**/*.js"
                    ]
                }
            }
        }

execute task and you will have your diagrams in your output folder, in this example it is in the folder architecture.


I hope it helps for your readme, thanks for this plugin.

xtreemrage avatar Dec 18 '14 16:12 xtreemrage

Thank you so much, will add this info to the README over the weekend. Or you can do it yourself if you want to be listed as contributor (I will always mention you on the README but if you want to be listed in the commits) :+1:

lucalanca avatar Dec 19 '14 10:12 lucalanca

I will do that!

xtreemrage avatar Dec 23 '14 08:12 xtreemrage