From f2f834c01f80d1bec369d022234ce31fb069118b Mon Sep 17 00:00:00 2001 From: Urko Date: Tue, 11 Jul 2023 17:39:40 +0200 Subject: [PATCH] feat update readme --- Readme.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Readme.md b/Readme.md index 1583586..78642f5 100644 --- a/Readme.md +++ b/Readme.md @@ -62,3 +62,15 @@ This will run the application with the directory **/home/user/test-upload** and Note: You must select just one option, dir or file. Please replace `"your-bucket-name"`, `"/path/to/directory"`, and `"/path/to/file"` with your actual bucket name and paths. + + +## Environment Variables +The application uses the following environment variables: + +- **BB_ID:** Your Backblaze account ID +- **BB_KEY:** Your Backblaze application key + +You can set these variables in your environment, or you can use a **.env** file in the root directory of the project. If the **BACKBLAZE_ENV** environment variable is set to dev, the application will load the **.env** file. + +## Syncing with Backblaze +The application uses the Sync method of the BackBlaze service to sync files or directories to Backblaze. If there's an error during the sync, the application will log the error and exit.