Skip to content

armgit / ente

Public Imported from GitHub
0

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

Update

Manav Rathi0a33a44752ee
diff --git a/docs/docs/self-hosting/index.md b/docs/docs/self-hosting/index.md
index c192829ae3..06ce59637b 100644
--- a/docs/docs/self-hosting/index.md
+++ b/docs/docs/self-hosting/index.md
@@ -14,12 +14,39 @@ the same code we use for our own cloud service.
> [blog post](https://ente.io/blog/open-sourcing-our-server/) announcing the
> open sourcing of our server useful.
-## Getting started
+## Getting started - Quickstart
+
+Install [Docker](https://www.docker.com). Then, paste the following command in a
+your terminal:
+
+```sh
+sh -c "$(curl -fsSL https://raw.githubusercontent.com/ente-io/ente/HEAD/server/quickstart.sh)"
+```
+
+> [!TIP]
+>
+> For more details about what this does, or if you would rather do the same
+> steps manually, see [the quickstart
+> README](https://github.com/ente-io/ente/blob/main/server/quickstart/README.md).
+
+That's about it. If you open http://localhost:3000, you will be able to create
+an account on a Ente Photos web app running on your machine, and this web app
+will be connecting to the server running on your local machine at
+`localhost:8080`.
+
+For the mobile or desktop apps, you don't even need to build, and can install
+normal Ente apps and configure them to use your [custom self-hosted
+server](guides/custom-server/).
+
+## Getting started - From source
+
+The quickstart method above uses pre-built images. Alternatively, if you want to build the self
+hosted server images from source, you can use the steps in this section.
#### Installing Docker
-Refer to
-[How to install Docker from the APT repository](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository)
+Refer to [How to install Docker from the APT
+repository](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository)
for detailed instructions.
#### Start the server
@@ -30,11 +57,6 @@ cd ente/server
docker compose up --build
```
-> [!TIP]
->
-> You can also use a pre-built Docker image from `ghcr.io/ente-io/server`
-> ([More info](https://github.com/ente-io/ente/blob/main/server/docs/docker.md))
-
Install the necessary dependencies for running the web client
```sh
@@ -53,15 +75,6 @@ yarn install
NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 yarn dev
```
-That's about it. If you open http://localhost:3000, you will be able to create
-an account on a Ente Photos web app running on your machine, and this web app
-will be connecting to the server running on your local machine at
-`localhost:8080`.
-
-For the mobile apps, you don't even need to build, and can install normal Ente
-apps and configure them to use your
-[custom self-hosted server](guides/custom-server/).
-
> If you want to build the mobile apps from source, see the instructions
> [here](guides/mobile-build).
diff --git a/server/RUNNING.md b/server/RUNNING.md
index 1937adc68b..34479d2a1d 100644
--- a/server/RUNNING.md
+++ b/server/RUNNING.md
@@ -115,6 +115,9 @@ you can just pull and run the from **`ghcr.io/ente-io/web`**.
docker pull ghcr.io/ente-io/web
```
+For details about configuring the web image, see
+[web/docs/docker.md](../web/docs/docker.md).
+
## Running without Docker
The museum binary can be run by using `go run cmd/museum/main.go`. But first,