Near-final tweaks before v2.0
This commit is contained in:
parent
1f628e4648
commit
9dd7da73c2
16
README.md
16
README.md
|
@ -70,3 +70,19 @@ so you must use an existing copy of a ``recipes.db`` file.
|
|||
## Note on JavaServer Faces
|
||||
The Spring Boot version supersedes a previous port based on the Apache Tobago JSF tag library. It uses the PrimeFaces JSF tag library, as presently that platform has better Spring Boot support. Plus Tobago is quite different from most of the
|
||||
extension tag libraries to the point where it almost isn't JSF.
|
||||
|
||||
## New in Version 2.0
|
||||
|
||||
### Database change
|
||||
|
||||
The backing database as defined in the project is now MySQL
|
||||
instead of SQLite. The SQLite JDBC driver may have been a bit
|
||||
casual about a few things compared to MySQL. The JPA should work
|
||||
for either database now, although it should be noted that SQLite
|
||||
isn't really intended for multi-user webapps and should only be
|
||||
employed when you run this app on your local desktop.
|
||||
|
||||
### Improved graphics support
|
||||
|
||||
A lot of recipe websites publish images in webp form. Support
|
||||
for webp has now been added.
|
|
@ -8,6 +8,7 @@ joinfaces.jsf.webapp-resources-directory=/resources
|
|||
# This works. Note that ONLY THE FIRST theme set will work unless
|
||||
# you delete the old primefaces.THEME from ServletContext
|
||||
server.servlet.context-parameters.primefaces.THEME=omega
|
||||
server.servlet.session.timeout=30m
|
||||
|
||||
spring.thymeleaf.enabled=false
|
||||
server.error.whitelabel.enabled=false
|
||||
|
|
|
@ -1,13 +1,19 @@
|
|||
#
|
||||
# Application YML is used in production. /application.properties
|
||||
# Application YML is used in production, filed under /BOOT-INF/classes.
|
||||
# application.properties in the project root (working dir)
|
||||
# is used in test.
|
||||
#
|
||||
# application config in execution current directory or ./config
|
||||
# have higher precedence, and the command line is ultimate:
|
||||
#
|
||||
# https://docs.spring.io/spring-boot/docs/2.1.9.RELEASE/reference/html/boot-features-external-config.html
|
||||
#
|
||||
spring:
|
||||
datasource:
|
||||
#url: jdbc:sqlite:${home}/recipes.db
|
||||
url: jdbc:mysql:dbase/recipes
|
||||
# options: ${env} values
|
||||
driverClassName: ork.mysql.jdbc.Driver
|
||||
driverClassName: org.mysql.jdbc.Driver
|
||||
username: recipes
|
||||
password: yumyumyum
|
||||
jpa:
|
||||
|
@ -16,6 +22,11 @@ spring:
|
|||
#database-platform: org.sqlite.hibernate.dialect.SQLiteDialect
|
||||
database-platform: org.hibernate.dialect.MySQLDialect
|
||||
|
||||
server:
|
||||
servlet:
|
||||
session:
|
||||
timeout: '30m'
|
||||
|
||||
gourmet:
|
||||
password:
|
||||
file: .gourmetpw
|
||||
|
|
Loading…
Reference in New Issue
Block a user