oeg-upm/FarolAppsWeb

Name: FarolAppsWeb

Owner: Ontology Engineering Group (UPM)

Description: null

Forked from: cblanco/FarolAppsWeb

Created: 2016-07-22 11:36:25.0

Updated: 2016-07-22 11:36:26.0

Pushed: 2016-07-28 17:06:02.0

Homepage: null

Size: 3228

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Code HTML5 Code CSS3 Code JS Desgin Responsive Desgin Google Design
lib Google Maps lib jQuery lib jQueryMobile lib Modernizr lib sweetAlert lib Bootstrap lib Font Awesome
Build Maven Version 0.1

FarolApp4All Web

This web application conect with FarolApp4All Api and show the farols.
This project is a GUI for FarolApp4All Api.

Table of Contents

  1. Pre-requisites
  2. Configuration
    2.1. Google Maps API key
    2.2. Change API URL
  3. Compile
  4. Deploy
  5. Development guide
  6. Version
1) Pre-requisites
2) Configuration

2.1) Google Maps API key
To get the Google Maps Api Key, follow this manual:
https://developers.google.com/maps/documentation/javascript/get-api-key
Edit src/main/webapp/index.html and change the next script:

 Google Maps Javascript Api -->
ipt src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY_HERE&libraries=visualization" type="text/javascript"></script>

2.2) Change API URL
To change API URL edit the follow file:
“src/main/webapp/resources/js/gui.js”
Search the next line and change it:

FarolApp_API_URL = 'http://infra3.dia.fi.upm.es/api/';

Remember add to the end the “/” character.
For further information visit:
https://github.com/liveldp/api

3) Compile

To compile, type in a cmd or terminal (On project folder, you need see the pom.xml):

clean install

Generated files are inside “target” folder.

4) Deploy

After changing the settings you can compile the tool, generating a WAR file. You will deploy this WAR file on a tomcat manager or copy the folder “FarolApp4All” (in “target” folder) into the webapps folder of tomcat (or other web server).
For futher information visit: https://tomcat.apache.org/tomcat-7.0-doc/deployer-howto.html

5) Development guide

For development guide visit the follow link:
Development Guide

6) Version

0.1


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.