Giter Club home page Giter Club logo

jvm-bloggers's Introduction

JVM Bloggers

Never miss any blog post from developers around JVM in Poland :)

Build Status Coverage Status Join the chat at https://gitter.im/tdziurko/jvm-bloggers

Overview

Goal of this project is to gather information about every developer or company blogging about JVM related technologies in Poland, no matter if he is an oldschool Java fanboy, fancy Scala lover or niche Gosu expert.

Every Friday at 12am application sends a newsletter with all new blog posts from last 7 days. Currently newsletter is sent to the most of Java User Groups in Poland. If you want to have your group or personal e-mail added, please contact me (address below).

I want to promote blogging as the best way to share knowledge and learn from your readers at the same time. And the best way to do that is by helping blog authors to reach wider audience.

Your blog is missing?

Please create a Pull Request adding it to

and that's all. Once it is merged, you are on the list!

Roadmap

Done

  1. Send weekly e-mail about latest blog posts to JUG mailing lists
  2. Add technical blogs from Polish companies
  3. Add moderation to discard off-topic content
  4. Write some admin panel to manage moderation. etc.

Planned

  • Send information about new blog posts using Twitter and Facebook profiles
  • Count clicks to find most popular articles and promote them
  • Fetch data about number of comments in articles
  • Analyze tweets from developers and highlight those with most RTs, stars and the most active conversations
  • Maybe export the idea to another country? :)
  • .... this is a place for YOUR idea :)

Technical details

Application is written using Java 8, Spring Boot, Liquibase, Akka and JPA, running on PostgreSQL database. Currenly it runs on a Heroku.

Local development setup

Step 1:

You need a PostgreSQL database (name: jvm_bloggers, user/pass: jvm_bloggers/jvm_bloggers). The easiest and recommended way is to run it as docker container:

docker run --name jvm-bloggers-db -e POSTGRES_USER=jvm_bloggers -e POSTGRES_PASSWORD=jvm_bloggers -p 5432:5432 -d postgres

Step 2:

Execute Gradle bootRun task:

./gradlew  -Djasypt.encryptor.password=<SECRET_PASSWORD> -Dspring.profiles.active=dev -Ddatabase.host=<JVM_BLOGGERS_DB_HOST_ADDRESS> bootRun

NOTE:If the jvm_bloggers database is running on localhost then database.host property can be omitted (it will be assumed to be localhost by default).

Step 3:

Navigate to http://localhost:8080/admin and fill login form with any login and <SECRET_PASSWORD> (the password provided in the previous step)

NOTE: Admin UI is based on http://startbootstrap.com/template-overviews/sb-admin-2/.

Step 4:

Your local database is probably empty so you need either wait 10 minutes for Schedulers (BloggersDataFetchingScheduler and BlogPostsFetchingScheduler) to fetch data or change @Scheduled annotation in these classes so they execute earlier (eg. @Scheduled(fixedDelay = 1000)))

Step 5:

To import the project into IDE first execute ./gradlew eclipse or ./gradlew idea (depending on your IDE) to generate project files and import them into IDE.

Running locally with Docker

docker run -p 8080:8080 --add-host=jvm_bloggers_db:<JVM_BLOGGERS_DB_HOST_ADDRESS> -e database.host=jvm_bloggers_db -e jasypt.encryptor.password="<jasypt_password>" -e spring.profiles.active="dev" tdziurko/jvm-bloggers:<TAG>

where TAG is one from https://hub.docker.com/r/tdziurko/jvm-bloggers/tags/ or any tag of your local image repository.

Contributing

Wanna help? Please let me know (create an issue, comment on existing one so we don't duplicate work). This is a community driven open source project, so any help is appreciated!

Contact

If you need direct contact, you can reach JVM Bloggers project at GMail: jvmbloggers (at) (you know what).(you know what too) :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.