| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
SpringBlog is a very simple and clean-design blog system implemented with Spring Boot. It's one of my learning projects to explore awesome features in Spring Boot web programming. I had put it on production for my personal blog site https://raysmond.com for about one year. Now, I turn to Hexo for my blog site.
There's no demo online. Here's the screenshot of my previous blog homepage.
SpringBlog is powered by many powerful frameworks and third-party projects:
Before development, please install the following service software:
Edit the spring config profile src/main/resources/application.yml according to your settings.
And start MySQL and Redis first before running the application.
# If you're using Ubuntu server # Install MySQL apt-get install mysql-server service mysql start mysql -u root -p >> create database spring_blog; # Install Python pygments apt-get install python-pip pip install pygments
# If you want to enable redis cache # Install redis server first, you can find instructions # from https://www.digitalocean.com/community/tutorials/how-to-install-and-use-redis service redis_6379 start
This is a Gradle project. Make sure Gradle is installed in your machine. Try gradle -v command. Otherwise install in from http://www.gradle.org/. I recommend you import the source code into Intellij IDE to edit the code.
# Start the web application ./gradlew bootRun
How to import the project into Intellij IDEA and run from the IDE?
Lombok is required to run the project. You can install the plugin in Intellij IDEA. Reference: https://github.com/mplushnikov/lombok-intellij-plugin
Build application jar ./gradlew build, then upload the distribution jar (e.g. build/libs/SpringBlog-0.1.jar) to your remote server.
Upload application-production.yml to your server and change it according to your server settings.
Run it (Java8 is a must)
# assuming you have the jar and yml files under current dir java -jar SpringBlog-0.1.jar --spring.config.location=application-production.yml
Modified BSD license. Copyright (c) 2015, Jiankun LEI (Raysmond).
| Back | FazBrowse Home | New Git URL |