Coder Social home page Coder Social logo

vagrant-ccda-validator's Introduction

vagrant-ccda-validator

CCDA Validator in a Vagrant VM

Vagrant CCDA Validator

What You'll need

  1. Vagrant
  2. VirtualBox
  3. Disk space and memory for a VM

Usage

git clone this repo (and submodules! VERY important!)

git clone --recurse-submodules https://github.com/mieweb/vagrant-ccda-validator.git

Start the Vagrant machine with 'vagrant up'.

cd vagrant-ccda-validator
vagrant up

Wait... Try opening up any of the following URLS:

http://localhost:8080/referenceccdaservice/static/validationui.html validationui

http://localhost:8080/referenceccdaservice/swagger-ui.html#/reference-ccda-validation-controller swagger-ui

Having issues?

Check the logs folder!

vagrant-ccda-validator's People

Contributors

drbgfc avatar wreiske avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

drbgfc duschang27

vagrant-ccda-validator's Issues

do-magic.sh error copying referenceccdaservice.xml to tomcat localhost directory on vagrant up

Steps to Reproduce:

Ran:
git clone --recurse-submodules https://github.com/mieweb/vagrant-ccda-validator.git
cd vagrant-ccda-validator
vagrant up
Waited

Tried opening up any of the following URLS:
http://localhost:8080/referenceccdaservice/static/validationui.html
http://localhost:8080/referenceccdaservice/swagger-ui.html#/reference-ccda-validation-controller

Got 404

Looked at tomcat log, noticed that it didn't boot properly.
Looked at vagrant log, noticed the culprit:
default: Copying config_extras...
default: cp:
default: cannot create regular file โ€˜/etc/tomcat/Catalina/localhost/referenceccdaservice.xmlโ€™
default: : No such file or directory
default: Done!

Note: This is related to line 15 in https://github.com/mieweb/vagrant-ccda-validator/blob/master/files/scripts/do-magic.sh
cp -f /etc/ccda/files/config_extra/referenceccdaservice.xml /etc/tomcat/Catalina/localhost/referenceccdaservice.xml

Manual Fix:
-SSHd into the VM
-stopped the tomcat instance using the service
-manually copied over referenceccdaservice.xml to /etc/tomcat/Catalina/localhost/
-restarted the tomcat instance using the service
-checked the logs (all good)
-now able to access and use the software at the respective URLs

If you would like the full logs let me know.
Thanks,
Dan

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.