setup ffsaf server
This commit is contained in:
373
src/main/resources/META-INF/resources/index.html
Normal file
373
src/main/resources/META-INF/resources/index.html
Normal file
File diff suppressed because one or more lines are too long
22
src/main/resources/application.properties
Normal file
22
src/main/resources/application.properties
Normal file
@@ -0,0 +1,22 @@
|
||||
# DEV
|
||||
%dev.quarkus.datasource.db-kind=mysql
|
||||
%dev.quarkus.datasource.reactive.url=mysql://${database.hostname}:${database.port}/${database.database}?charset=utf8mb4
|
||||
|
||||
# DB
|
||||
quarkus.datasource.db-kind=postgresql
|
||||
quarkus.datasource.username=${database.user}
|
||||
quarkus.datasource.password=${database.pass}
|
||||
quarkus.datasource.reactive.url=postgresql://${database.hostname}:${database.port}/${database.database}?charset=utf8mb4
|
||||
|
||||
quarkus.hibernate-orm.database.generation=update
|
||||
quarkus.hibernate-orm.physical-naming-strategy=fr.titionfire.ffsaf.data.SafcaNamingStrategy
|
||||
|
||||
quarkus.http.cors=true
|
||||
quarkus.quartz.start-mode=forced
|
||||
|
||||
database.prefix = test2_
|
||||
database.database=safca
|
||||
database.hostname=localhost
|
||||
database.port=3306
|
||||
database.user=root
|
||||
database.pass=
|
||||
31
src/main/resources/templates/page.qute.html
Normal file
31
src/main/resources/templates/page.qute.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Hello {name ?: "Qute"}</title>
|
||||
<style>
|
||||
body {
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #4695EB;
|
||||
font-size: 6vw;
|
||||
}
|
||||
|
||||
h1 b {
|
||||
color: #be9100;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 2vw;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Hello <b>{name ?: "Qute"}</b></h1>
|
||||
|
||||
<p>Create your web page using Quarkus RESTEasy & Qute</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user