Skip to content

gzp79/shine-services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cbb463b · Mar 24, 2025
Jan 23, 2025
Mar 24, 2025
Dec 19, 2024
Mar 24, 2025
Jan 24, 2025
Mar 19, 2025
Mar 19, 2025
Mar 24, 2025
Mar 19, 2025
Dec 19, 2024
Aug 18, 2023
Dec 19, 2024
Mar 24, 2025
Mar 24, 2025
Mar 24, 2025
Dec 19, 2024
Jan 16, 2025
Jan 24, 2025
Jan 19, 2025
Dec 19, 2024

Repository files navigation

Backend

To start a local version (VS code)

  • start dev environment
  • identity: local

Test environment

host setup

127.0.0.1 local-cloud.scytta.com
127.0.0.1 local.scytta.com

127.0.0.1 local-scytta.com
127.0.0.1 cloud.local-scytta.com

127.0.0.1 mockbox.com
127.0.0.1 postgres.mockbox.com
127.0.0.1 redis.mockbox.com

Know-how

How to fix 'failed to run custom build command for aws-lc-sys' on Windows

Fly.io

To restart the postgres machine and server:

  • optionally fly auth login
  • fly checks list -a shine-db
  • fly machine start ...

Cargo extensions

These are the most frequently used cargo extensions in the shine project:

cargo install cargo-outdated
cargo install cargo-tree
cargo install trunk

Telemetry

Jaeger

Set up telemetry configuration:

  {
    "telemetry": {
      "tracing": {
        "type": "openTelemetryProtocol",
        "endpoint": "http://localhost:4317"
      }
    }
  }

Web view:

# Run jaeger in background with OTLP ingestion enabled.
$ docker run -d -p16686:16686 -p4317:4317 -e COLLECTOR_OTLP_ENABLED=true jaegertracing/all-in-one:latest

# View spans
$ firefox http://localhost:16686/