diff --git a/README.md b/README.md index 468ce09e8..726cb18ad 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,17 @@ [![ci](https://github.com/trustification/trustify/actions/workflows/ci.yaml/badge.svg)](https://github.com/trustification/trustify/actions/workflows/ci.yaml) +## Quick start + +Let's call this "PM mode": + +```shell +cargo run --bin trustd -- --auth-disabled +``` +That will create its own database on your local filesystem. Point your browser at http://localhost:8080/swagger-ui/ to view the API. + +You can then fire up the [trustify-ui](https://github.com/trustification/trustify-ui). + ## Repository Organization ### Sources @@ -63,7 +74,7 @@ podman-compose -f etc/deploy/compose/compose.yaml up Connect to PSQL: ```shell -env PGPASSWORD=eggs psql -U postgres -d huevos -h localhost -p 5432 +env PGPASSWORD=eggs psql -U postgres -d trustify -h localhost -p 5432 ``` Import data (also see: [importer/README.md](importer/README.md) for more options): diff --git a/etc/deploy/compose/compose.yaml b/etc/deploy/compose/compose.yaml index 0ecc5e91d..74831793e 100644 --- a/etc/deploy/compose/compose.yaml +++ b/etc/deploy/compose/compose.yaml @@ -6,7 +6,7 @@ services: - "5432:5432" environment: POSTGRES_PASSWORD: "eggs" - POSTGRES_DB: "huevos" + POSTGRES_DB: "trustify" restart: always keycloak: diff --git a/server/src/lib.rs b/server/src/lib.rs index 77bf40ccf..9b1a692d9 100644 --- a/server/src/lib.rs +++ b/server/src/lib.rs @@ -60,7 +60,7 @@ pub struct Run { pub swagger_ui_oidc: SwaggerUiOidcConfig, } -const SERVICE_ID: &str = "huevos"; +const SERVICE_ID: &str = "trustify"; struct InitData { authenticator: Option>,