11SpringBlog
22=====
33
4+ 中文开发和部署文档请查看:http://raysmond.com/posts/springblog-guide
5+
46SpringBlog is a very simple and clean-design blog system implemented with Spring Boot.
57It's one of my learning projects to explore awesome features in Spring Boot web programming. You can check my blog
68site for demo [ https://raysmond.com ] ( http://raysmond.com ) .
@@ -16,17 +18,15 @@ SpringBlog is powered by many powerful frameworks and third-party projects:
1618- [ Bootstrap] ( https://getbootstrap.com ) - A very popular and responsive front-end framework
1719- [ Pegdown] ( https://github.com/sirthias/pegdown ) - A pure-java markdown processor
1820- [ ACE Editor] ( http://ace.c9.io/ ) - A high performance code editor which I use to write posts and code.
19- - [ Pygments] ( http://pygments.org/ ) - A python library for highlighting code syntax
20- - [ Jade4j] ( https://github.com/neuland/jade4j ) - [ Jade] ( http://jade-lang.com/ ) is an elegant template language.
2121- [ Redis] ( http://redis.io/ ) - A very powerful in-memory data cache server.
22+ - EhCache
23+ - Thymeleaf (Spring MVC)
2224
2325## Development
2426
2527Before development, please install the following service software:
2628
2729- [ MySQL] ( https://www.mysql.com )
28- - [ Redis] ( http://redis.io )
29- - [ Pygments] ( http://pygments.org )
3030
3131Edit the spring config profile ` src/main/resources/application.yml ` according to your settings.
3232
@@ -40,18 +40,6 @@ apt-get install mysql-server
4040service mysql start
4141mysql -u root -p
4242>> create database spring_blog;
43-
44-
45- # Install Python pygments
46- apt-get install python-pip
47- pip install pygments
48- ```
49-
50- ```
51- # If you want to enable redis cache
52- # Install redis server first, you can find instructions
53- # from https://www.digitalocean.com/community/tutorials/how-to-install-and-use-redis
54- service redis_6379 start
5543```
5644
5745This is a Gradle project. Make sure Gradle is installed in your machine.
@@ -67,12 +55,15 @@ I recommend you import the source code into Intellij IDE to edit the code.
6755
6856** How to import the project into Intellij IDEA and run from the IDE?**
6957
58+ ```
59+ git clone https://github.com/Raysmond/SpringBlog.git
60+ cd SpringBlog
61+
62+ bower install
63+ ```
7064
71651 . Clone the project
72- ` git clone https://github.com/Raysmond/SpringBlog.git `
73662 . Download all dependencies
74- ` cd SpringBlog `
75- ` ./gradlew idea `
76673 . Open the project in Intellij IDEA.
77684 . Run ` SpringBlogApplication.java ` as Java application.
78695 . Preview: http://localhost:8080
@@ -95,12 +86,12 @@ I recommend you import the source code into Intellij IDE to edit the code.
9586
9687## TODO
9788
98- - [ ] Upgrade frontend framework to Bootstrap4
99- - [ ] Replace Jade with Thymeleaf(HTML)
100- - [ ] Frontend building tools, e.g. webpack
101- - [ ] Use hibernate 2nd level cache (EHCache?)
102- - [ ] Markdown preview while editing
103- - [ ] Html editor
89+ - [x ] Upgrade frontend framework to Bootstrap4
90+ - [ ] Replace Jade with Thymeleaf(HTML)
91+ - [ ] Frontend building tools, e.g. webpack
92+ - [x ] Use hibernate 2nd level cache (EHCache?)
93+ - [ ] Markdown preview while editing
94+ - [ ] Html editor
10495
10596## License
10697Modified BSD license. Copyright (c) 2015 - 2018, Jiankun LEI (Raysmond).
0 commit comments