@@ -15,12 +15,29 @@ SpringBlog is powered by many powerful frameworks and third-party projects:
1515- [ Pygments] ( http://pygments.org/ ) - Python syntax highlighter
1616- [ Jade4j] ( https://github.com/neuland/jade4j ) - [ Jade] ( http://jade-lang.com/ ) is an elegant template language
1717- [ 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.
18+ - [ Redis] ( http://redis.io/ ) - A very powerful in-memory data cache server.
1819
1920## Development
2021
21- Make sure Gradle is installed in your machine. Try ` gradle -v ` command. Otherwise install in from [ http://www.gradle.org/ ] ( http://www.gradle.org/ ) .
22+ Before development, please install the following service software:
2223
23- Before development, please install MySQL5+ first and edit ` persistence.properties ` according to your database configurations.
24+ - MySQL5
25+ - Configuration file: ` src/main/java/persistence.properties `
26+ - Redis
27+ - [ how-to-install-and-use-redis-on-ubuntu] ( https://www.digitalocean.com/community/tutorials/how-to-install-and-use-redis )
28+ - Configuration file: ` src/main/java/redis.properties `
29+
30+ And start MySQL and Redis server before running the application.
31+
32+ ```
33+ # If you're using Ubuntu server
34+ sudo service mysql start
35+ sudo service redis_6379 start
36+ ```
37+
38+ This is a Gradle project. Make sure Gradle is installed in your machine.
39+ Try ` gradle -v ` command. Otherwise install in from [ http://www.gradle.org/ ] ( http://www.gradle.org/ ) .
40+ I recommend you import the source code into Intellij IDE to edit the code.
2441
2542```
2643# Install artifacts to your local repository
@@ -30,4 +47,4 @@ Before development, please install MySQL5+ first and edit `persistence.propertie
3047./gradlew jettyRun
3148```
3249
33- View ` http://localhost:8080/SpringBlog ` on your browser.
50+ View ` http://localhost:8080/ ` on your browser.
0 commit comments