Skip to content

gzp79/shine-services

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/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 3

  •  
  •  
  •  

Languages