A simple server for mirroring HTTP requests for testing.
Go to file
Dorian fbcb0e4562 Fix up the output and release a new version. 2023-01-13 09:56:06 -05:00
src Fix up the output and release a new version. 2023-01-13 09:56:06 -05:00
.gitignore Wire up project for working with actix. 2023-01-12 09:41:47 -05:00
Cargo.toml Fix up the output and release a new version. 2023-01-13 09:56:06 -05:00
LICENSE Wire up project for working with actix. 2023-01-12 09:41:47 -05:00
README.md Fix up the output and release a new version. 2023-01-13 09:56:06 -05:00
publish-deb.sh Fix up the output and release a new version. 2023-01-13 09:56:06 -05:00

README.md

mirror-server

A simple server for mirroring HTTP requests for testing.

Getting Started

  • Use the latest stable version of Rust using rustup.
  • Build: cargo build
  • Test: cargo test
  • Run the server: cargo run -- --port=8080
  • Create a DEB package:
    • Install cargo-deb: cargo install cargo-deb
    • Create the DEB package: cargo deb

Install

Download the DEB file, and install it:

curl https://code.birch-tree.net/api/packages/dorian/generic/mirror-server/0.2.0/mirror-server_0.2.0_amd64.deb && sudo dpkg -i mirror-server-0.2.0_amd64.deb