π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Outline
Manav Rathif213e9ad8c7a
diff --git a/server/quickstart/README.md b/server/quickstart/README.mdnew file mode 100644index 0000000000..d67b2558a0--- /dev/null+++ b/server/quickstart/README.md@@ -0,0 +1,99 @@+A variant docker compose file that does not require cloning the repository,+using pre-built images instead.++# WARNING: WIP - THIS DOESN'T WORK AS WRITTEN YET++### Quickstart++Copy paste the following command into your terminal++```sh+sh -c "$(curl -fsSL https://raw.githubusercontent.com/ente-io/ente/HEAD/server/hello.sh)"+```++Alternatively, you can run the following four steps manually (that's all the+command above does for you):++1. Create a directory on your system and switch to it. You can name it+ anything, and it can be at any place on your machine. In particular, you+ don't need to clone this repository.++ ```sh+ mkdir my-ente && cd my-ente+ ```++ > [!TIP]+ >+ > "Ente" (pronounced _en-tay_) means "mine" in Malayalam, our Founder's mother+ > tongue (the product literally thus means "My Photos"), so a directory named+ > `my-ente` would translate to "my-my".++2. Download the sample quickstart Docker compose file.++ ```sh+ curl -fsSOL https://raw.githubusercontent.com/ente-io/ente/HEAD/server/quickstart/compose.yaml+ ```++3. Create an empty `museum.yaml` (you can use it later to put your config).++ ```sh+ touch museum.yaml+ ```++4. Start your self hosted instance.++ ```sh+ docker compose up+ ```++That's it. You can now open **http://localhost:3000** in your browser to use+Ente's web app.++## Details++The quickstart steps above created a Docker compose cluster containing:++- Ente's own server, museum+- Ente's web app+- Postgres (DB)+- minio (the S3 storage)++For each of these, it'll use the latest published Docker image.++You can do a quick smoke test by pinging the API:++```sh+curl localhost:8080/ping+```++And start using the web app by opening http://localhost:3000 in your browser.++The cluster will keep running as long as the `docker compose up` command (or the+`hello.sh` script you curl-ed) is running. If you want to keep it running in the+background, you can instead.++```sh+cd /path/to/my-ente # Or whichever directory you created+docker compose up -d+```++And then later, to stop the cluster, you can++```sh+cd /path/to/my-ente+docker compose down+```++### Caveat++This sample setup is only intended to make it easy for people to get started. If+you're intending to use your self hosted instance for serious purposes, we+strongly recommend understanding all the moving parts. Some particular things to+call out:++1. Change all the hardcoded credentials.+2. Consider if you want an external DB or an external S3 instead of the samples.+3. Keep a plaintext backup of your photos until you are proficient.++### Next steps+diff --git a/server/scripts/compose/README.md b/server/scripts/compose/README.mddeleted file mode 100644index 688e306a7c..0000000000--- a/server/scripts/compose/README.md+++ /dev/null@@ -1,22 +0,0 @@-A variant docker compose file that does not require cloning the repository, and-instead uses pre-built images.--**TODO: Not done yet, a future standalone compose file will live here.**--### Details--This folder contains a `compose.yaml` file that is a variant of the top level-`server/compose.yaml`. The difference between the two are:--- `server/compose.yaml` builds Ente images from source, assuming that the- `ente-io/ente` repository has been checked out.--- `server/scripts/compose/compose.yaml` (the `compose.yaml` in this directory)- uses the pre-build Ente images, and does not require the `ente-io/ente`- repository to be cloned. That is, it can be run standalone by just curl-ing- it, and a few required files, to any folder on your machine.--For more details about how to use it, see [docker.md](../../docs/docker.md).--This folder also contains a credentials file that is required by (both) these-docker compose files.