Giter VIP home page Giter VIP logo

icdc-model-tool-docker's Introduction

ICDC model-tool-d

This is a wrapper around a Dockerized version of model-tool. It's intended to work exactly as if model-tool, will all its Perl and Graphviz dependencies, were installed on your system.

Note the script is called

 model-tool-d

with -d.

Install

You need Docker installed on your machine. Recommend Docker Desktop (Community Version) for Win or MacOSX.

  • Get a Docker Hub ID if you don't have one already. Just follow the sign-in/create account steps in the desktop app, or go to https://hub.docker.com/.

  • Clone this repo

      git clone https://github.com/CBIIT/icdc-model-tool-docker.git 
    
  • Move to distribution directory

      cd icdc-model-tool-docker
    
  • Easy build:

    • Get the "cpanminus" tool:

      curl -L https://cpanmin.us | perl - App::cpanminus     # or
      wget -O - https://cpanmin.us | perl - App::cpanminus
      
    • Run the following on cmd line; don't skip the tests

      perl Build.PL
      ./Build
      sudo ./Build installdeps --cpan_client cpanm
      ./Build test
      sudo ./Build install
      
    • Try it!

      $ model-tool-d # should output..
      
      FATAL: Nothing to do!
       (2019/08/23 21:57:59 in main::)
      Usage:
            model-tool [-g <graph-out-file>] [-s <output-dir>] [-j <json-out-file>] 
                       [-T <table-out-file>] <input.yaml> [<input2.yaml> ...]
               [-d dir_to_search [-d another_dir...]]
            -g : create an SVG of model defined in input.yamls
            -T : output a table of nodes and properties
            -a : output all nodes, including unlinked nodes
            -v : verbosity (-v little ... -vvvv lots)
            -W : show all warnings ( = -vvv )
            --dry-run : emit log msg, but no output files
      

icdc-model-tool-docker's People

Contributors

majensen avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

codacy-badger

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.