Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[docs][script] provide option to start cluster and update pre-requisites

Keerthanabab661914d7d
diff --git a/docs/docs/self-hosting/index.md b/docs/docs/self-hosting/index.md
index 2e7cbbe812..762f2fda9c 100644
--- a/docs/docs/self-hosting/index.md
+++ b/docs/docs/self-hosting/index.md
@@ -22,9 +22,9 @@ on the client. It performs well on small cloud instances, old laptops, and even
#### Operating System
-Any Linux or \*nix operating system, preferably Ubuntu or Debian is recommended
-to have a good Docker experience. The reason being poor experience on non-Linux
-systems and difficulty with troubleshooting and assistance.
+Any Linux or \*nix operating system, Ubuntu or Debian is recommended
+to have a good Docker experience. Non-Linux operating systems tend to provide
+poor experience with Docker and difficulty with troubleshooting and assistance.
#### Docker
diff --git a/server/docs/quickstart.md b/server/docs/quickstart.md
index 9e9760c8f3..358bb9cf76 100644
--- a/server/docs/quickstart.md
+++ b/server/docs/quickstart.md
@@ -18,6 +18,7 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ente-io/ente/main/server/q
> [quickstart.sh](https://github.com/ente-io/ente/blob/main/server/quickstart.sh),
> `chmod +x` it and then run it with `./quickstart.sh`.
+
After the Docker compose cluster starts, you can open the Ente web app at
http://localhost:3000.
diff --git a/server/quickstart.sh b/server/quickstart.sh
index 1a091e3d4f..ddba25b68f 100755
--- a/server/quickstart.sh
+++ b/server/quickstart.sh
@@ -117,6 +117,8 @@ services:
image: minio/minio
ports:
- 3200:3200 # MinIO API
+ # Uncomment to enable MinIO Web UI
+ # - 3201:3201
environment:
MINIO_ROOT_USER: $minio_user
MINIO_ROOT_PASSWORD: $minio_pass
@@ -190,10 +192,18 @@ EOF
printf " \033[1;32mT\033[0m Created \033[1mmuseum.yaml\033[0m\n"
sleep 1
-printf " \033[1;32mE\033[0m Starting docker compose\n"
-printf "\nAfter the cluster has started, open web app at \033[1mhttp://localhost:3000\033[0m\n"
-printf "(Verification code will be in the logs here)\n\n"
-
-sleep 1
-
-docker compose up
+printf " \033[1;32mE\033[0m Do you want to start Ente? (y/n): "
+read choice
+
+if [[ "$choice" == "y" || "$choice" == "Y" ]]; then
+ printf " \033[1;32mE\033[0m Starting docker compose\n"
+ printf "\nAfter the cluster has started, open web app at \033[1mhttp://localhost:3000\033[0m\n"
+ printf "(Verification code will be in the logs here)\n\n"
+ docker compose up
+else
+ printf "\nTo start the cluster:\n"
+ printf " \033[1;32m$\033[0m cd my-ente\n"
+ printf " \033[1;32m$\033[0m docker compose up\n"
+ printf "\nAfter the cluster has started, open web app at \033[1mhttp://localhost:3000\033[0m\n"
+ printf "(Verification code will be in the logs here)\n\n"
+fi
\ No newline at end of file