HelmetServer is an application server that handles alarms and some data logging for an Android app.
To build and run you'll need:
- Java JDK 7
- Apache Tomcat 7
- Apache Ant
- Apache Ivy
- Eclipse with the Web Tools Platform installed
- Database access. Any relational database that's compatible with Hibernate will do (=most).
This is one way to get the server working.
-
If you have git you can download the source by running the following command:
git clone git://github.com/grupp6/HelmetServer.gitIf not you can download the source in the old fashoned way from this location.
-
Edit src/hibernate.cfg.xml and add the database connection settings for your database. Please note that the server will automatically drop and create the necessary tables needed (using Hibernate). See the Hibernate documentation for more details.
-
Download dependencies by running
antin the project folder or choosing "run as ant build" in Eclipse on build.xml. This will automatically download all dependencies. -
Add the Tomcat server to Eclipse (Windows -> Preferences -> Runtime Environment -> Add...).
-
Run the project on the server by choosing run on server in Eclipse.