Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 991 Bytes

contributing.md

File metadata and controls

51 lines (39 loc) · 991 Bytes

Contribution and Development Guide

Package Layout

Development

Upgrade rust

Make sure rust is the latest version

rustup update

Running the Rust Service locally

cargo build --example server 
cargo run --example server

Build the container locally

You'll need to first update your registries to include docker.io if you haven't done that

Add to your /etc/containers/registries.conf file:

[registries.search]
registries = ['docker.io']
podman build -f Dockerfile -t authress-local
podman run -it -p 8888:8888 localhost/authress-local:latest

Stop the container

podman container ls
podman container kill NAME
podman container prune
podman image prune

Debug the container

# copy file out
podman cp <container_id>:/path/to/useful/file /local-path

# Jump into container
podman exec -it <container_id> /bin/bash