From 701706d1e868195f41dbc8afeebe4df4a9e4d0c2 Mon Sep 17 00:00:00 2001 From: Peter Karolyi Date: Sat, 4 May 2024 14:02:48 +0200 Subject: [PATCH] docs: update readme --- README.md | 24 ++++++++++++------------ src/storage/storage.service.ts | 1 - 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 1a77019..9dc15fa 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,18 @@ Garden Snail is a self-hosted [Remote Cache](https://turbo.build/repo/docs/core- The easiest way to get started is to use the published [Docker image](https://hub.docker.com/r/pkarolyi/garden-snail). It runs the remote cache server listening on port 3000. +```sh +docker run -e STORAGE_PROVIDER=local -e LOCAL_STORAGE_PATH=/blobs -v "$(pwd)"/blobs:/blobs -p 3000:3000 pkarolyi/garden-snail +``` + +You can also build and run the application yourself, you will need NodeJS `20.12.2` and pnpm `9.0.6`: + +```sh +pnpm install +pnpm build +node dist/main +``` + ### Environment variables ```sh @@ -27,18 +39,6 @@ S3_FORCE_PATH_STYLE= S3_ENDPOINT= ``` -```sh -docker run -e STORAGE_PROVIDER=local -e LOCAL_STORAGE_PATH=/blobs -v "$(pwd)"/blobs:/blobs -p 3000:3000 pkarolyi/garden-snail -``` - -You can also build and run the application yourself, you will need NodeJS `20.12.2` and pnpm `9.0.6`: - -```sh -pnpm install -pnpm build -node dist/main -``` - ## Notes The `1.1.0` release is working and is compatible with the latest turborepo releases. Check the integration tests on the latest [workflow run](https://github.com/pkarolyi/garden-snail/actions/). diff --git a/src/storage/storage.service.ts b/src/storage/storage.service.ts index 7078538..50ddec5 100644 --- a/src/storage/storage.service.ts +++ b/src/storage/storage.service.ts @@ -16,7 +16,6 @@ export class StorageService { readonly configService: ConfigService, ) { const storageConfig = configService.get("storage", { infer: true }); - this.logger.debug(`storageConfig: ${JSON.stringify(storageConfig)}`); if (storageConfig.provider === "local") { const { basePath } = storageConfig;