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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This web application conect with FarolApp4All Api and show the farols.
This project is a GUI for FarolApp4All Api.
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
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.
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
For development guide visit the follow link:
Development Guide
0.1