Giter Site home page Giter Site logo

cfigueroacastro / h2ms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 2018swecapstone/h2ms

0.0 2.0 0.0 1.93 MB

Hand Hygiene Monitoring System

License: Other

PowerShell 0.06% Shell 0.06% TypeScript 56.08% JavaScript 0.49% HTML 8.34% CSS 0.70% Java 34.28%

h2ms's Introduction

Hand Hygiene Monitoring System (H2MS)

Maintainability

Build

./mvnw install

Run

And then launch the server:

java -jar target/h2ms-0.0.1-SNAPSHOT.jar

And visit http://localhost:8080/ in your browser.

To see an example End Point visit http://localhost:8080/managementDashboard/eventexample in your browser.

You can also build and run a docker container, see below.

Docker

See Spring Boot Docker. Basically:

./mvnw install dockerfile:build

And then:

docker run -d -p 8080:8080 cscie599/h2ms

Alternatively (to not keep the container running after ctrl-c):

docker run --rm -it -p 8080:8080 cscie599/h2ms

Docker Compose

In the project root:

docker-compose up

In Docker for Windows

  1. Start Kitematic
  2. Go into Docker CLI
  3. If not done already, set user permissions
    Set-ExecutionPolicy -Scope CurrentUser Unrestricted
  4. Then ./buildrun.ps1

Email Setup

H2MS requires mailserver.properties for email to function. E.g., for Gmail:

spring.mail.host=smtp.gmail.com spring.mail.port=587 spring.mail.username=username spring.mail.password=password spring.mail.properties.mail.smtp.auth=true spring.mail.properties.mail.smtp.starttls.enable=true

You can use mailserver.properties.template as template to create mailserver.propertiesin src/main/resources folder.S

Troubleshooting

If you are having issues with Docker not starting up, try uninstalling and installing the older version. Docker Windows Older Version Installer
Relevant Docker Issue: Upgrade then Unable to create File System Image · Issue #1514 · docker/for-win

Credits

h2ms's People

Contributors

wesleyskillern avatar benjenkinsv95 avatar shinwachi avatar stbenjam avatar k-tros avatar

Watchers

James Cloos avatar Carlos E. Figueroa Castro 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.