Small blogging application, created for the purposes of Tidy Java blog. If you want to learn more about how it's designed and built, there's no better place than the Blogging Platform series. Project is Open Source and "Unlicensed", so anybody can contribute or create her/his own project based on this one.
https://blogging-platform.herokuapp.com/ (can load a while, because it's running on free dyno)
Here are a few simple steps to start using the platform:
- Create a Git repository for your blog contents. (TIP: Every .md file is treated like a post so don't create a README.md!)
- Fork this repository
- Fill
application.ymlwith your blog's name, url and content's repository url - Deploy the application (TIP: Heroku has great integration with GitHub. I already created a
Procfilefor you.) - Write your first blog post:
---
title: Hello World!
summary: My first post.
date: 1970-01-01
author: Awesome guy
tags:
- whatever
---
Put your contents here using **markdown**:
# h1
## h2
### h3
...
*italic*
**bold**
==highlighted==
and more..
If you find this description not thorough enough, please let me know in the issues tab!!
Disqus and Google Analytics are disabled by default. To enable them you have to modify application.yml and provide your Disqus name and/or Google Analytics tracking code.
analytics:
enabled: true
trackingCode: PUT_YOUR_TRACKING_CODE_HERE
disqus:
enabled: true
name: PUT_YOUR_DISQUS_NAME_HERE
Social links are external URLs displayed in the top right corner of the page. By default every blog contains an RSS link. You can configure extra links in application.yml e.g.
social:
links:
- name: Twitter
url: http://twitter.com/grzegorztj
- name: GitHub
url: https://github.com/tidyjava
- name: RSS
url: http://tidyjava.com/rss
Blogging Platform is a typical Spring Boot application with Gradle configuration. You can run it in multiple ways.
To run the project from your IDE, just run main function in BloggingPlatform class.
To build the project, you can use the following command:
gradle assemble
To run the project use:
gradle bootRun
Coding style:
- Use Intellij's default formatting settings. If you're using a different IDE, make sure to configure it accordingly.
How to contribute?
- Get the project.
- Write some good code.
- Issue a pull request.
If you don't know where to start, check out issues tab - there's a lot of interesting stuff there!