CREATE DATABASE schpincer CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
docker
flag and apply the environment variables from application-docker.properties
http://127.0.0.1:8080/loggedin
url. You can register one for yourself at https://auth.sch.bme.hu/ Don't forget to set the authsch.client-identifier
(20 chars long) and authsch.client-key
(80 chars long) properties.dev,test,local
(or docker
is you use env variables)test
profile to insert demo dataLocation: src/main/resources/config/application-local.properties
(Git will automatically ignore it, so you can put your personal properties there)
# Don't forget to enable local profile!
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/schpincer?useSSL=false&useUnicode=yes&characterEncoding=utf8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
spring.datasource.username=username
spring.datasource.password=password
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
spring.jpa.hibernate.ddl-auto=create
spring.jpa.show-sql=true # change to false if you want
authsch.client-identifier=20 chars length
authsch.client-key=80 chars length
# never / always / on-trace-param
#server.error.include-stacktrace=never
schpincer.external=./test/external/
spring.jpa.properties.hibernate.search.default.directory_provider=filesystem
spring.jpa.properties.hibernate.search.default.indexBase=/tmp/schpincer/search/
spring.servlet.multipart.max-file-size=2000KB
spring.servlet.multipart.max-request-size=2000KB
use schpincer;
schincer.sysadmin=YOUR_AUTHSCH_UUID
to any of the properties files`UPDATE `users` SET `sysadmin`=1 WHERE `email`='YOUR_EMAIL';`
Coming soon.