GithubHelp home page GithubHelp logo

mohideen / wstrack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from umd-lib/wstrack

0.0 2.0 0.0 1.7 MB

Workstation Tracking

License: Apache License 2.0

Shell 0.54% Batchfile 0.11% Java 1.11% Groovy 35.06% PLpgSQL 0.17% CSS 10.18% JavaScript 52.83%

wstrack's Introduction

WSTrack

WSTrack (Workstation Tracking Project) contains client and server projects for tracking user workstation logins.

Documentation

How to Install WSTrack on the Server

# Stop the tomcat

cd /apps/cms/tomcat-misc
./control stop

cd /apps/cms/webapps
mv wstrack wstrack-old.dir
mv wstrack{.war,-war.old}

# SNAPSHOT versions should include the full version string. (E.g. 1.7-20180620.202022-1)
wget -O wstrack.war 'https://maven.lib.umd.edu/nexus/service/rest/beta/search/assets/download?&group=edu.umd.lib.wstrack.server&name=wstrack-server&maven.extension=war&version=<VERSION>'

mv wstrack-*.war wstrack.war
cd /apps/cms/tomcat-misc
./control start

# Test

rm -rf wstrack-old.dir

Build Instructions

To build projects execute mvn -DskipTests clean install from the repository root directory.

That will create 2 files, a .war (the server code) located here /wstrack/server/target/wstrack-server-{version}.war and a .jar (the client code) located here /wstrack/client/target/wstrack-client-{version}-jar-with-dependencies.jar

How to Test the App?

    1. Build the code using mvn -DskipTests clean install from the repository root directory.
    1. Navigate to ~/server/ and run "grails run-app"
    1. Navigate to ~/client/scripts/ and execute ./wstrack-client.sh [login|logout] [local|DEV|Prod] (This step should add a new row in the Current list.)

Note - While executing "./wstrack-client.sh [login|logout] [local|DEV|Prod]" , if you get an error "Unable to access jarfile /apps/git/wstrack/client/script/wstrack-client.jar" Follow the following steps.

  1. Navigate to ~/client/scripts and remove the wstrack-client.jar file. (rm -rf wstrack-client.jar)
  2. Execute "ln -s ../target/wstrack-client-{VERSION}-jar-with-dependencies.jar wstrack-client.jar" (This will relink the jar file with the correct jar file.)
  3. Restart the server. and rerun the ./wstrack-client.sh [login|logout] [local|DEV|Prod] command.

License

See the LICENSE file for license rights and limitations (Apache 2.0).

wstrack's People

Contributors

wallberg avatar shreyhatle avatar mohideen avatar phammer-umd avatar rmanchan avatar

Watchers

James Cloos avatar  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.