braun-steven / cocon-server-spark

Java Spark server for cocon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cocon Spark Server

This repository contains the maven project of the spark java REST server for the Cocon android application.

Some setup details

To build the project run

$ mvn package

You may have to install the corresponding cocon-base jar file to your local .m2 repository first

$ mvn install:install-file -Dfile=<path-to-jar> -DgroupId=com.tak3r07 
-DartifactId=cocon-base -Dversion=1.0-SNAPSHOT -Dpackaging=jar

cocon-base can now be included with

<dependency>
    <groupId>com.tak3r07</groupId>
    <artifactId>cocon-base</artifactId>
    <version>1.0-SNAPSHOT</version>
</dependency>

After the cocon-server jar has been built successfully run the following to start the server

java -jar <path-to-jar> <PORT>

About

Java Spark server for cocon


Languages

Language:Java 100.0%