kir-dev / sch-pincer

Közös rendelő oldal a Schönherz Kollégium lakói számára
https://schpincer.sch.bme.hu/
10 stars 2 forks source link
kotlin spring-boot

SCH-PINCÉR

Quality Gate Status

Setup dev env

A sample application-local.properties

Location: 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

Grant admin privilege via SQL queries

`UPDATE `users` SET `sysadmin`=1 WHERE `email`='YOUR_EMAIL';`

How to contribute

Coming soon.