Skip to content

Commit 426d07a

Browse files
committed
Merge branch 'master' of github.com:Raysmond/SpringBlog
Merge branch 'master' of https://github.com/Raysmond/juntin
2 parents 478bb5f + 59e008b commit 426d07a

1 file changed

Lines changed: 24 additions & 25 deletions

File tree

README.md

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,34 @@
11
SpringBlog
22
=====
33

4-
SpringBlog is a very simple blog system implemented with Spring MVC.
5-
It's one of my learning projects which took me two days to develop the first minimal and runnable version. I've put it on production
6-
for my personal website [http://raysmond.com](http://raysmond.com).
7-
8-
I think I need to emphasized that it's a learning project to learn and apply awesome and new features in Java web programming, especially with
9-
Spring Framework. A blog site is just a good place to get started.
4+
SpringBlog is a very simple and clean-design blog system implemented with Spring Boot.
5+
It's one of my learning projects to explore awesome features in Spring Boot web programming. I've put it on production
6+
for my personal blog site [https://raysmond.com](https://raysmond.com).
107

118
SpringBlog is powered by many powerful frameworks and third-party projects:
129

13-
- Spring Boot + Spring MVC + Spring JPA + Hibernate - Powerful frameworks
10+
- Spring Boot and many of Spring familiy (e.g. Spring MVC, Spring JPA, Spring Secruity and etc)
11+
- Hibernate + MySQL
1412
- [HikariCP](https://github.com/brettwooldridge/HikariCP) - A solid high-performance JDBC connection pool
1513
- [Bootstrap](https://getbootstrap.com) - A very popular and responsive front-end framework
1614
- [Pegdown](https://github.com/sirthias/pegdown) - A pure-java markdown processor
17-
- [ACE Editor](http://ace.c9.io/) - A high performance code editor
18-
- [Pygments](http://pygments.org/) - Python syntax highlighter
19-
- [Jade4j](https://github.com/neuland/jade4j) - [Jade](http://jade-lang.com/) is an elegant template language
15+
- [ACE Editor](http://ace.c9.io/) - A high performance code editor which I use to write posts and code.
16+
- [Pygments](http://pygments.org/) - A python library for highlighting code syntax
17+
- [Jade4j](https://github.com/neuland/jade4j) - [Jade](http://jade-lang.com/) is an elegant template language.
2018
- [Webjars](http://www.webjars.org/) - A client-side web libraries packaged into JAR files. A easy way to manage JavaScript and CSS vendors in Gradle.
2119
- [Redis](http://redis.io/) - A very powerful in-memory data cache server.
2220

2321
## Development
2422

2523
Before development, please install the following service software:
2624

27-
- MySQL5
28-
- Redis
29-
- [how-to-install-and-use-redis-on-ubuntu](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-redis)
30-
- Pygments
31-
- A python library for highlighting code syntax
25+
- [MySQL](https://www.mysql.com)
26+
- [Redis](http://redis.io)
27+
- [Pygments](http://pygments.org)
3228

33-
Edit application configuration file `src/main/resources/dev_app.properties` according to your settings.
29+
Edit the spring config profile `src/main/resources/application.yml` according to your settings.
3430

35-
And start MySQL, Redis and Pygments first before running the application.
31+
And start MySQL and Redis first before running the application.
3632

3733
```
3834
# If you're using Ubuntu server
@@ -52,20 +48,23 @@ I recommend you import the source code into Intellij IDE to edit the code.
5248

5349
View `http://localhost:8080/` on your browser.
5450

51+
### Todo
52+
53+
- Handling static web resources with `ResourceSolvers` and `ResourceTransformers` introduced in Spring Framework 4.1.
54+
- Post tagging implementation
55+
- Awesome features are always welcome.
56+
57+
Welcome to contribute.
58+
5559
## Deployment
5660

5761
- Build application jar `./gradlew build`, then upload the distribution jar (e.g. `build/libs/SpringBlog-0.1.jar`) to your remote server.
58-
- Upload `application-production.yml` to your server and change the configuration according to your server settings.
59-
- Run it (make sure you have installed Java8 already)
62+
- Upload `application-production.yml` to your server and change it according to your server settings.
63+
- Run it (Java8 is a must)
6064

6165
```
6266
# assuming you have the jar and yml files under current dir
63-
java -jar SpringBlog-0.1.jar --spring.config.location="application-production.yml"
67+
java -jar SpringBlog-0.1.jar --spring.config.location=application-production.yml
6468
```
65-
66-
## Todo
6769

68-
- Handling static web resources with `ResourceSolvers` and `ResourceTransformers` introduced in Spring Framework 4.1.
69-
- Post tagging implementation
70-
- Awesome features are always welcome.
7170

0 commit comments

Comments
 (0)