π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[cli] Update README
Neeraj Guptaf4d44e484dac
diff --git a/cli/README.md b/cli/README.mdindex 40858da0f8..8edaf35509 100644--- a/cli/README.md+++ b/cli/README.md@@ -107,11 +107,7 @@ docker-compose up -d`exec` into the container```shell-docker-compose exec ente /bin/sh+docker-compose exec ente-cli /bin/sh -c "./ente-cli version"+docker-compose exec ente-cli /bin/sh -c "./ente-cli account add"```-#### Directly executing commands--```shell-docker run -it --rm ente:latest ls-```diff --git a/cli/docker-compose.yml b/cli/docker-compose.ymlindex b3c8ad0cea..d508155115 100644--- a/cli/docker-compose.yml+++ b/cli/docker-compose.yml@@ -4,8 +4,11 @@ services:image: ente-cli:latestcommand: /bin/shvolumes:- # Replace /Volumes/Data/ with a folder path on your system, typically $HOME/.ente-cli/- - ~/.ente-cli/:/cli-data:rw-# - ~/Downloads/export-data:/data:rw+ # This is mandatory to mount the local directory to the container at /cli-data+ # CLI will use this directory to store the data required for syncing export+ - /path/to/local/directory/cli/:/cli-data:rw+ # You can add additional volumes to mount the export directory to the container+ # While adding account for export, you can use /data as the export directory.+ - /path/to/local/directory/export:/data:rwstdin_open: truetty: truediff --git a/cli/main.go b/cli/main.goindex 05ea3a6e27..fce469f199 100644--- a/cli/main.go+++ b/cli/main.go@@ -23,7 +23,7 @@ func main() {cliDBPath = constants.CliDataPath_, err := internal.ValidateDirForWrite(cliDBPath)if err != nil {- log.Fatalf("Please mount a volume to %s to persist cli data\n%v\n", cliDBPath, err)+ log.Fatalf("Please mount a volume to %s\n%v\n", cliDBPath, err)}}if err != nil {