Updates Warm Feed database from VK and Tumblr sources for known authors.
Posts source is the user's newsfeed (the user is defined by VK_ACCESS_TOKEN
). Also updates author photos and names.
Get access token
Posts source is the user's dashboard (the user is defined by TUMBLR_ACCESS_TOKEN
). Does not update author photos and names.
./gradlew shadowJar
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
docker-compose -f test-db-compose.yaml up -d