This commit is contained in:
34
README.md
Normal file
34
README.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# semrack
|
||||
|
||||
This project uses Quarkus, the Supersonic Subatomic Java Framework.
|
||||
|
||||
If you want to learn more about Quarkus, please visit its website: <https://quarkus.io/>.
|
||||
|
||||
## Quickstart
|
||||
|
||||
### Dev mode local execution
|
||||
|
||||
```shell script
|
||||
./mvnw quarkus:dev
|
||||
```
|
||||
|
||||
### Build project
|
||||
|
||||
```shell script
|
||||
./mvnw clean install
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
### Storage Postgres
|
||||
|
||||
The storage-postgres module use the quarkus jdbc-postgresql extension.
|
||||
|
||||
In dev mode, the database devservices is used. To configure database in production, you need to set the quarkus jdbc parameters :
|
||||
|
||||
quarkus.datasource.jdbc.url=jdbc:postgresql://${semrack.db.host}:${semrack.db.port}/${semrack.db.name}
|
||||
quarkus.datasource.reactive.url=postgresql://${semrack.db.host}:${semrack.db.port}/${semrack.db.name}
|
||||
quarkus.datasource.username=${semrack.db.user}
|
||||
quarkus.datasource.password=${semrack.db.password}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user