π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[docs] refactor get started
Keerthanab580d6ce3514
diff --git a/docs/docs/.vitepress/sidebar.ts b/docs/docs/.vitepress/sidebar.tsindex fe2f5c7405..e0ebb61296 100644--- a/docs/docs/.vitepress/sidebar.ts+++ b/docs/docs/.vitepress/sidebar.ts@@ -244,7 +244,7 @@ export const sidebar = [items: [{text: "Get Started",- link: "/self-hosting/get-started",+ link: "/self-hosting/",},{text: "Install",@@ -255,7 +255,7 @@ export const sidebar = [link: "/self-hosting/install/requirements",},{- text: "Quickstart Script (recommended)",+ text: "Quickstart Script (Recommended)",link: "/self-hosting/install/quickstart",},{@@ -271,7 +271,7 @@ export const sidebar = [link: "/self-hosting/install/config",},{- text: "Post-installation Steps",+ text: "Post Installation",link: "/self-hosting/install/post-install",},{diff --git a/docs/docs/public/onboarding.png b/docs/docs/public/onboarding.pngnew file mode 100644index 0000000000..32b18f73f2Binary files /dev/null and b/docs/docs/public/onboarding.png differdiff --git a/docs/docs/public/sign-up.png b/docs/docs/public/sign-up.pngnew file mode 100644index 0000000000..2960eeda07Binary files /dev/null and b/docs/docs/public/sign-up.png differdiff --git a/docs/docs/self-hosting/get-started.md b/docs/docs/self-hosting/index.mdsimilarity index 54%rename from docs/docs/self-hosting/get-started.mdrename to docs/docs/self-hosting/index.mdindex 71b78b274f..ed17a17a54 100644--- a/docs/docs/self-hosting/get-started.md+++ b/docs/docs/self-hosting/index.md@@ -6,9 +6,7 @@ description: Getting started with self-hosting Ente# Get StartedThe entire source code for Ente is open source,-[including the servers](https://ente.io/blog/open-sourcing-our-server/).--This is the same code we use for our own cloud service.+[including the servers](https://ente.io/blog/open-sourcing-our-server/). This is the same code we use for our own cloud service.For a quick preview of running Ente on your server, make sure you have the following installed on your system and meets the requirements mentioned below:@@ -27,12 +25,31 @@ Run this command on your terminal to setup Ente.sh -c "$(curl -fsSL https://raw.githubusercontent.com/ente-io/ente/main/server/quickstart.sh)"```-The above `curl` command pulls the Docker image, creates a directory `my-ente`-in the current working directory, prompts to start the cluster and starts all the containers required to run Ente.+The above command creates a directory `my-ente` in the current working directory, prompts to start the cluster after pulling the images and starts all the containers required to run Ente.-+## Try the web app++The first user to be registered will be treated as the admin user.++Open the web app at `http://<machine-ip>:3000` (or `http://localhost:3000` if using on same local machine) and select **Don't have an account?** to create a new user.++++Follow the prompts to sign up.++++You will be prompted to enter verification code. Check the cluster logs using `sudo docker compose logs` and enter the same.++++## Try the mobile app++++## What next?## Queries?diff --git a/docs/docs/self-hosting/install/from-source.md b/docs/docs/self-hosting/install/from-source.mdindex 9d010190dc..3fe2ba712f 100644--- a/docs/docs/self-hosting/install/from-source.md+++ b/docs/docs/self-hosting/install/from-source.md@@ -5,7 +5,8 @@ description: Getting started self hosting Ente Photos and/or Ente Auth# Ente from Source-> [!WARNING] NOTE The below documentation will cover instructions about+> [!WARNING] NOTE+> The below documentation will cover instructions about> self-hosting the web app manually. If you want to deploy Ente hassle free, use> the [one line](https://ente.io/blog/self-hosting-quickstart/) command to setup> Ente. This guide might be deprecated in the near future.@@ -188,42 +189,3 @@ to configure the endpoints. Make sure to setup up your DNS Records accordinglyto the similar URL's you set up in `museum.yaml`.Next part is to configure the web server.--# Web server configuration--The last step ahead is configuring reverse_proxy for the ports on which the apps-are being served (you will have to make changes, if you have cusotmized the-ports). The web server of choice in this guide is-[Caddy](https://caddyserver.com) because with caddy you don't have to manually-configure/setup SSL ceritifcates as caddy will take care of that.--```groovy-photos.yourdomain.com {- reverse_proxy http://localhost:3001- # for logging- log {- level error- }-}--auth.yourdomain.com {- reverse_proxy http://localhost:3002-}-# and so on ...-```--Next, start the caddy server :).--```sh-# If caddy service is not enabled-sudo systemctl enable caddy--sudo systemctl daemon-reload--sudo systemctl start caddy-```--## Contributing--Please start a discussion on the Github Repo if you have any suggestions for the-Dockerfile, You can also share your setups on Github Discussions.diff --git a/docs/docs/self-hosting/install/requirements.md b/docs/docs/self-hosting/install/requirements.mdindex 37ac281eae..07d237751d 100644--- a/docs/docs/self-hosting/install/requirements.md+++ b/docs/docs/self-hosting/install/requirements.md@@ -5,6 +5,8 @@ description: Requirements for self-hosting Ente# Requirements+## Hardware+The server is capable of running on minimal resource requirements as alightweight Go binary, since most of the intensive computational tasks are doneon the client. It performs well on small cloud instances, old laptops, and even@@ -21,4 +23,9 @@ experience with Docker and difficulty with troubleshooting and assistance.### DockerRequired for running Ente's server, web application and dependent services-(database and object storage)+(database and object storage). Ente also requires **Docker Compose plugin** to be installed.++> [!NOTE]+> Ente requires **Docker Compose version 2.25 or higher**.+>+> Furthermore, Ente uses the command `docker compose`, `docker-compose` is no longer supported.\ No newline at end of file