Giter Site home page Giter Site logo

unsw-cfrc / misc-online-whatif-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ezio47/online-whatif-ui

0.0 1.0 0.0 6.77 MB

Online WhatIf User Interface

Home Page: http://aurin.org.au/projects/portal-and-infrastructure/what-if/

License: GNU General Public License v3.0

Java 0.89% HTML 0.27% JavaScript 92.32% CSS 6.48% Ruby 0.04%

misc-online-whatif-ui's Introduction

online-whatif-ui

Online WhatIf User Interface. A web-based user interface for Online WhatIf.

Build instructions

To build for debugging/development (first, specify servlet.hotdeploy.path in user-dev.properties):

mvn clean package -Ddeployment=development -Dsystem=ali-dev -Daurin.dir=/etc/aurin

To build for production:

mvn clean package -Ddeployment=production -Dsystem=ali-dev -Daurin.dir=/etc/aurin

Running Tomcat

Before running tomcat, check that the JAVA_OPTS provide enough memory. It's best to set -Xms to a minimum of 256m and -Xmx to a minimum of 512m. You'll also need to set the aurin.dir variable. For example:

    JAVA_OPTS="-Djava.awt.headless=true -XX:+UseConcMarkSweepGC -Dfile.encoding=UTF-8 -Xmx2G -XX:PermSize=512M -Daurin.dir=/etc/aurin"

On Ubuntu, the JAVA_OPTS variable can be set in the /etc/defaults/tomcat7 file.

Properties

The following properties need to be set in the whatif-combined.properties file for your system:

wif.ui.endpoint=http://base/url/of/what-if/service/
wif.ui.appBase=http://base/url/of/what-if-ui/service/

If you are developing locally, it will also help to set the following option, which turns off checking of SSL certificates:

wif.ui.useTrustingHttpClient=true

misc-online-whatif-ui's People

Contributors

alireza-shamakhy avatar rwh86 avatar

Watchers

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