Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Chewdata Examples

Run an example

With Make

Edit the .env to custom the log level and services information

make example //List all examples
make example name=local-xml

With an available service

make example name=mongodb

With cargo

Define environment variables at the begin of the command.

cargo run --example //List all examples
RUST_LOG=INFO cargo run --example local-xml

With an available service

RUST_LOG=INFO MONGODB_ENDPOINT=mongodb://admin:admin@localhost:27017 MONGODB_USERNAME=admin MONGODB_PASSWORD=admin cargo run --example mongodb