Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few docs and more huevos removal #132

Merged
merged 1 commit into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion etc/deploy/compose/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
- "5432:5432"
environment:
POSTGRES_PASSWORD: "eggs"
POSTGRES_DB: "huevos"
POSTGRES_DB: "trustify"
restart: always

keycloak:
Expand Down
2 changes: 1 addition & 1 deletion server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Arc<Authenticator>>,
Expand Down