Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1007 Bytes

README.md

File metadata and controls

36 lines (30 loc) · 1007 Bytes

Warm Feed updater

Updates Warm Feed database from VK and Tumblr sources for known authors.

Update sites

VK

Posts source is the user's newsfeed (the user is defined by VK_ACCESS_TOKEN). Also updates author photos and names. Get access token

Tumblr

Posts source is the user's dashboard (the user is defined by TUMBLR_ACCESS_TOKEN). Does not update author photos and names.

Build

./gradlew shadowJar

Run

TUMBLR_CONSUMER_KEY=*** \
TUMBLR_CONSUMER_SECRET=*** \
TUMBLR_ACCESS_TOKEN=*** \
TUMBLR_ACCESS_SECRET=*** \
VK_ACCESS_TOKEN=*** \
DB_HOST=localhost \
DB_PORT=3306 \
DB_NAME=feed \
DB_USER=*** \
DB_PASSWORD=*** \
java -Dlog4j.configuration=file:build/libs/logging.properties -jar build/libs/updater.jar

Test

docker-compose -f test-db-compose.yaml up -d