SpringBlog
SpringBlog copied to clipboard
A simple blogging system implemented with Spring Boot + Hibernate + MySQL + Bootstrap4.
How to download all dependencies in IDEA ? I do't konw how to run it .Could you help me to solve that ? Thanks a lot.
比如 http://localhost:8080/bower_components/bootstrap/dist/css/bootstrap.min.css 找了半天也没有bower_components文件夹 后发现.gitignore文件直接给屏蔽了src/main/resources/static/bower_components 作者可否提供下
Add Index on posts to Accelerate Query. See #36
## Problem **posts** is an important table in SpringBlog and from [PostRepository](https://github.com/Raysmond/SpringBlog/blob/07ceda2460e27095fa146e88c3bbfe66728728dc/src/main/java/com/raysmond/blog/repositories/PostRepository.java#L21) we can find that we always read **posts** by **permalink** and **post_type**.In our test, adding index on **posts.permalink**...
Caused by: java.lang.IllegalStateException: getOutputStream() has already been called for this response at org.apache.catalina.connector.Response.getWriter(Response.java:625) ~[tomcat-embed-core-8.5.27.jar:8.5.27] at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:211) ~[tomcat-embed-core-8.5.27.jar:8.5.27]
Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Mon Apr 03 00:34:45 CST 2017 There was an unexpected error...
`Refused to apply style from 'http://localhost:8080/bower_components/fontawesome/css/font-awesome.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. 3admin:1 GET http://localhost:8080/bower_components/bootstrap/dist/js/bootstrap.min.js net::ERR_ABORTED 404 admin:1...
Command `./gradlew bootRun` failed because it was expecting a database called `spring_blog_dev` as opposed to `spring_blog` : updated README with correct `create database spring_blog_dev` command.
can you provide the next SQL file?I have not used Redis