openlawlibrary / stelae

Preservation, Authentication, Access
GNU Affero General Public License v3.0
7 stars 1 forks source link

Stelae

Stelae is a system for distributing, preserving, and authenticating laws.

Contributing

Setting up environment

  1. Install dependencies:
    • Windows:
    • C++ Build Tools
    • Linux:
    • sudo apt-get install build-essential pkg-config libssl-dev
  2. Install Rust
  3. Install Just (Our build tool)
  4. Windows: install Git Bash, included in Git for Windows.
  5. Windows (Optional): install NuShell (A fast, cross-platform shell used by Just)
  6. We recommend using VSCode (default settings provided in repo), but you can use any editor you like.

Development

Logging

The ENV variable RUST_LOG can be set with one of trace, debug, info, warn, error. Filters can be set based on the target components seen in the logs lines, for example: to use trace but turn down the noise from the Actix dispatcher: RUST_LOG="trace,actix_http::h1::dispatcher=warn"

See tracing-subscriber docs and env_logger syntax.

Q&A