- bootstrap simple style, good device compatibility
- just in time support for markdown to add or edit.
- full search ability.
- nice for mobile add or edit.
- git
- jdk8
- mysql
That's all, base package of java web environment!
- get your mysql installed.
- git clone https://github.com/gejun123456/bootstrap-java-blog.git
- config your database
src\main\resources\application.properties
- cd bootstrap-java-blog
- gradlew clean build -x test
- java -jar build/libs/bootstrap.javablog.jar
- open localhost:8080 to see if works right.
- register a user (the first user you create will be admin)
- do everything in the next.
add admin page make page more beautiful
- you can use a different port like java -jar target/attchment.jar --server.port=9090
- edit your own about in
src\main\resources\templates\about.ftl
email:[email protected] qq:[email protected]