@@ -37,72 +37,7 @@ The diagram above shows how `s3s` works.
The data types, serialization and deserialization are generated from the smithy model in [aws-sdk-rust](https://github.com/awslabs/aws-sdk-rust) repository, with some manual hacks.
## Develop
## Contributing
Toolchain
+[Rust 1.66.1 or newer](https://rustup.rs/)
+[just](https://github.com/casey/just)
Get the source code
```bash
git clone https://github.com/Nugine/s3s.git
cd s3s
```
#### Run basic checks and tests
```bash
just dev
```
#### Run the codegen
```bash
just download-model
just codegen
```
It should change nothing if you are running the latest code.
#### Play the test server
Install `s3s-fs`
```bash
just install
```
Run `s3s-fs` with example configuration
```bash
./scripts/s3s-fs.sh
```
```
Access Key: AKEXAMPLES3S
Secret Key: SKEXAMPLES3S
```
Then you can explore it with your favorite S3 client!
#### Run E2E tests
Install `s3s-proxy`
```bash
just install
```
Run the combined server and save logs
```bash
./scripts/s3s-proxy.sh | tee target/s3s-proxy.ansi