We propose the following quickstart to setup a full dev. environment as quickly as possible:
- Setup a rust/cargo environment. eg.
dnf install rust cargo
- Install awscli v2 by following the guide here.
cargo buildto build the project
./script/dev-cluster.shto launch a test cluster (feel free to read the script)
./script/dev-configure.shto configure your test cluster with default values (same datacenter, 100 tokens)
./script/dev-bucket.shto create a bucket named
eprouvetteand an API key that will be stored in
source ./script/dev-env-aws.shto configure your CLI environment
- You can use
garageto manage the cluster. Try
- You can use the
awsgrgalias to add, remove, and delete files. Try
awsgrg cp /proc/cpuinfo s3://eprouvette/cpuinfo.txt, or
awsgrg ls s3://eprouvette.
awsgrgis a wrapper on the
aws s3command pre-configured with the previously generated API key (the one in
/tmp/garage.s3) and localhost as the endpoint.
Now you should be ready to start hacking on garage!