feat update readme
This commit is contained in:
parent
9176c33eee
commit
f2f834c01f
12
Readme.md
12
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.
|
||||
|
|
Loading…
Reference in New Issue