Skip to content

armgit / ente

Public Imported from GitHub
0

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

Create quickstart hello

Manav Rathif7a6a5e1159b
diff --git a/server/hello.sh b/server/hello.sh
new file mode 100755
index 0000000000..3c0a4d9717
--- /dev/null
+++ b/server/hello.sh
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# Ente self-host quickstart helper script.
+#
+# Usage:
+# sh -c "$(curl -fsSL https://raw.githubusercontent.com/ente-io/ente/HEAD/server/hello.sh)"
+#
+# Docs:
+# https://github.com/ente-io/ente/blob/main/server/quickstart/README.md
+
+if test -d my-ente
+then
+ printf "ERROR: A directory named 'my-ente' already exists.\n"
+ printf " Aborting script to avoid accidentally overwriting user data.\n"
+ exit 1
+fi
+
+mkdir my-ente && cd my-ente
+printf "E Create directory my-ente\n"
+
+curl -fsSOL https://raw.githubusercontent.com/ente-io/ente/HEAD/server/quickstart/compose.yaml
+printf "N Create compose.yaml\n"
+
+touch museum.yaml
+printf "T Create museum.yaml\n"
+
+sleep 5 && open "http://localhost:3000" &
+printf "E Schedule opening web app (http://localhost:3000) in 5 seconds\n"
+
+sleep 1
+
+docker compose up
diff --git a/server/quickstart/compose.yaml b/server/quickstart/compose.yaml
index adcb23167c..910d97bf9c 100644
--- a/server/quickstart/compose.yaml
+++ b/server/quickstart/compose.yaml
@@ -25,8 +25,7 @@ services:
command: "TCP-LISTEN:3200,fork,reuseaddr TCP:minio:3200"
web:
- # image: ghcr.io/ente-io/web
- image: web-test:latest # WIP
+ image: ghcr.io/ente-io/web
# Uncomment what you need to tweak.
ports:
- 3000:3000 # Photos web app