Skip to content

jordanms/summerUniversity2015

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eKoolikott

Installation

Check out the project and build the application using maven and run the dop.jar at /target folder.

mvn clean package

Start application

By default, application will run at port 8080. The rest API is available under context path rest/. After starting application you can access it at:

http://localhost:8080/rest/path/to/resource

Default configuration

java -jar dop.jar

Custom configuration

The custom configuration file can be placed anywhere visible to the application and may have any name.

java -jar -Dconfig="/path/to/custom.properties" dop.jar

Stop application

To stop the application just run the command:

java -jar dop.jar stop

If you started the application using a custom configuration file, use the same configuration to stop the application.

java -jar -Dconfig="/path/to/custom.properties" dop.jar stop

Configuration

The application can be configured using a custom properties file. It can be placed anywhere visible to the application and may have any name.

The available properties are:

Database

DOP uses MariaDB database. Click here for how to install it.

  • db.url - the database url
  • db.username - the database username
  • db.password - the database password for given username

Server

  • server.port - the port that server starts.
  • command.listener.port - the port used to listening for commands to be executed on server. Currently only shutdown command is available.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages