-
Notifications
You must be signed in to change notification settings - Fork 0
GettingStarted
jasonChiu edited this page Jan 29, 2015
·
3 revisions
-
clone the repository and change directory into it
-
put the value ( see Configuration File ) and place following files into
location-server/src/main/resources/production
:- connection.properties
dataSourceClassName = [ your datasource class ] ( ex: com.mysql.jdbc.jdbc2.optional.MysqlDataSource ) dataSource.url = [ your jdbc url ] ( ex: jdbc:mysql://localhost/dbname ) dataSource.user = [ your user name ] dataSource.password = [ your password ] ... or other hikariCP settings
- database.properties
init_database = [ true / false ] init_database_file = classpath:develope/data.sql
- hibernate.properties
hibernate.dialect = org.hibernate.spatial.dialect.mysql.MySQLSpatialInnoDBDialect ...and other hibernate setting
- lucene.properties
lucene.index.path = path/to/store/lucene/indexes
-
two ways to start the server :
- start on local by gradle : exec
gradlew jettyStart
to start andgradlew jettyStop
to stop - start on remote by deploy: exec
gradlew war
and deploylocation-server/build/libs/location-server.war
to remote container
- start on local by gradle : exec
-
start to access the server! ( see API List or Client for Android)