GithubHelp home page GithubHelp logo

chorus-ab / ig-publisher-scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hl7/ig-publisher-scripts

0.0 0.0 0.0 28 KB

A repository of scripts used to launch the publisher, manage the local publishing environment and ensure both scripts and publisher are 'current'

Shell 36.97% Batchfile 63.03%

ig-publisher-scripts's Introduction

FHIR IG Publisher scripts

A repository of scripts used to launch the publisher, manage the local publishing environment and ensure both scripts and publisher are 'current'

UpdatePublisher

the _updatePublisher.bat and _updatePublisher.sh scripts do the following:

  1. Check if we're online
  2. Actually the check is to see if the FHIR terminology server is up. If you know you're online and you get a message "we're offline", just try later or manually download the IG Publisher jar file.
  3. Checks if the IG Publisher jar is in the folder input-cache, and asks whether to download or update it from its permanent location
  4. Check if the publisher is in the folder ... If there is no publisher jar in input-cache but there is such a jar in the parent of the current folder, the script considers that as the target destination of the jar. This is because some authors don't want to have a 100MB+ jar file for each implementationGuide, having to update all of those when there is a new release.
  5. Update these scripts including itself.

If the argument /f is passed to the script, it skips all prompts and downloads the jar. This is used in automated updates and build processes.

GenOnce

the _genonce.bat and _genonce.sh scripts

  1. Check if we're online (i.e. if tx.fhir.org is reachable)
  2. Runs the publisher to build the IG from the current folder and exits when done.

GenContinuous

the _gencontinuous.bat and _gencontinuous.sh scripts

  1. Check if we're online (i.e. if tx.fhir.org is reachable)
  2. Runs the publisher to build the IG from the current folder and monitors for file changes, in which case it will build again, until the user exits.

Security note
These scripts are intended to download executables, and can easily trigger antivirus software; In addition, security settings on the machine or domain may block some of these actions. If you encounter such issues and you can't get around them, then you may: a) download the jar manually from its permanent location into the input-cache or parent folder, instead of using updatePublisher
and/or
b) run the command line yourself instead of using genonce:
input-cache\publisher.jar" -ig .
or
..\publisher.jar" -ig .

ig-publisher-scripts's People

Contributors

lmckenzi avatar costateixeira avatar bkaney avatar cmoesel avatar vadi2 avatar halprin 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.