Skip to content

ysamsonov/rss-reader

Repository files navigation

RSS Reader

Travis build

Usage

First of all, clone this repo and go to the project directory.
After that there are several options how to run.

Pre-requirements

You need installed JDK 11 on your machine.

Run from IntelliJ IDEA (or other ide)

  1. Enable Annotation processing
    IntelliJ IDEA:
    • Go to Preferences
    • Select tab Build, Execution, Deployment
    • Select Enable annotation processing
  2. Go to com.github.ysamsonov.rssreader.Application
  3. Run it use debug/normal mode

Run from Gradle

For Linux/MacOS use bash command:

./gradlew :rss-reader-core:runApp

For Windows use cmd command:

gradlew.bat :rss-reader-core:runApp

Build and run application

  1. Need to build application see Build.
  2. And run using Java 11
java -jar rss-reader-core.jar

Options

The following options are available for application.

Name Description Default value
rssreader.config.location Configuration file location $(pwd)/reader-config.json
rssreader.feed.synchronizer.pool.size Pool size for feed synchronization 4
rssreader.feed.writer.batch.size Batch size for feed writer 10

Example of using:

java -Drssreader.feed.synchronizer.pool.size=1 -jar rss-reader-core.jar

Build

  1. Run command to build Fat Jar

    For Linux/MacOS use bash command:

    ./gradlew :rss-reader-core:fatJar

    For Windows use cmd command:

    gradlew.bat :rss-reader-core:fatJar
  2. Go to rss-reader-core/build/libs folder and take jar-file

Contributing

Contributions are always welcome!

Licensing

This project is licensed under GNU General Public License v3.0.

Releases

No releases published

Packages

No packages published

Languages