-
Notifications
You must be signed in to change notification settings - Fork 1
GettingStarted
jasonChiu edited this page Feb 2, 2015
·
1 revision
-
clone the repository
-
put the value ( see Configuration File ) and place following files into
activity-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.dialect.MySQL5Dialect ...and other hibernate setting
- remote.properties
remote.attachment.url = http://example.com/attachments/
-
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 deployactivity-server/build/libs/activity-server.war
to remote container
- start on local by gradle : exec
-
start to access the server! ( see API List )