Skip to content

Latest commit

Β 

History

History
38 lines (26 loc) Β· 760 Bytes

File metadata and controls

38 lines (26 loc) Β· 760 Bytes

About

πŸ“š Read this template tutorial! πŸ“š

This template is designed roche and is used for compiling Rust libraries into docker and publishing the resulting package as knative service.

🚴 Usage

Use πŸ‘ roche init default to Clone this Template

Roche uses the excellent cargo-generate under the hood. Learn more about cargo generate here.

roche init default --name my-project
cd my-project

πŸ› οΈ Build with roche build

docker login
roche build

πŸ”¬ Testing the library

roche test --lib

πŸ‘ Running integration tests

docker run -p 8080:8080 name/of/image
cargo test --test '*'