From f6bab4f26c7b403bd2de55c9562c15edba19eb10 Mon Sep 17 00:00:00 2001 From: Henry Wilkinson Date: Mon, 27 Mar 2023 02:11:41 -0400 Subject: [PATCH] Reorganize content MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Renames "Dev" to "Develop" for improved navigation labels - Deployment docs are now located under a larger "Development" section (fewer nav bar choices & realistically I think anyone who wants to do one is going to be referring to the other) - Adds links to tools the first time they're mentioned - Rewords part of the homepage - Hides section navigation on the homepage (now we don't have a blank section nav bar! - Adds some syntax highlighting - Removes some manual word wrapping — this was done very rarely / inconsistently --- .../deploy/ansible/digitalocean.md | 0 docs/{ => develop}/deploy/ansible/microk8s.md | 0 docs/{ => develop}/deploy/index.md | 4 +-- docs/{ => develop}/deploy/local.md | 25 +++++++++---------- docs/{ => develop}/deploy/production.md | 11 ++++---- docs/{dev => develop}/docs.md | 3 +-- docs/{dev => develop}/frontend-dev.md | 0 docs/{dev => develop}/index.md | 0 docs/index.md | 16 ++++++++---- 9 files changed, 31 insertions(+), 28 deletions(-) rename docs/{ => develop}/deploy/ansible/digitalocean.md (100%) rename docs/{ => develop}/deploy/ansible/microk8s.md (100%) rename docs/{ => develop}/deploy/index.md (92%) rename docs/{ => develop}/deploy/local.md (95%) rename docs/{ => develop}/deploy/production.md (93%) rename docs/{dev => develop}/docs.md (75%) rename docs/{dev => develop}/frontend-dev.md (100%) rename docs/{dev => develop}/index.md (100%) diff --git a/docs/deploy/ansible/digitalocean.md b/docs/develop/deploy/ansible/digitalocean.md similarity index 100% rename from docs/deploy/ansible/digitalocean.md rename to docs/develop/deploy/ansible/digitalocean.md diff --git a/docs/deploy/ansible/microk8s.md b/docs/develop/deploy/ansible/microk8s.md similarity index 100% rename from docs/deploy/ansible/microk8s.md rename to docs/develop/deploy/ansible/microk8s.md diff --git a/docs/deploy/index.md b/docs/develop/deploy/index.md similarity index 92% rename from docs/deploy/index.md rename to docs/develop/deploy/index.md index ea41370d..53e1addf 100644 --- a/docs/deploy/index.md +++ b/docs/develop/deploy/index.md @@ -1,4 +1,4 @@ -# Introduction +# Introduction to Deployment Browsertrix Cloud is designed to be a cloud-native application running in Kubernetes. @@ -7,7 +7,7 @@ However, despite the name, it is perfectly reasonable (and easy!) to deploy Brow The main requirements for Browsertrix Cloud are: - A Kubernetes Cluster -- Helm 3 (package manager for Kubernetes) +- [Helm 3](https://helm.sh/) (package manager for Kubernetes) We have prepared a [Local Deployment](./local) and [Production (Self-Hosted and Cloud) Deployment](./production) guides to help with setting up Browsertrix Cloud for different scenarios. diff --git a/docs/deploy/local.md b/docs/develop/deploy/local.md similarity index 95% rename from docs/deploy/local.md rename to docs/develop/deploy/local.md index 273cc913..78df912b 100644 --- a/docs/deploy/local.md +++ b/docs/develop/deploy/local.md @@ -4,13 +4,11 @@ To just test out Browsertrix Cloud on your local machine, you'll first need to h ## Installing Kubernetes -Before running Browsertrix Cloud, you'll need to set up a running Kubernetes cluster. +Before running Browsertrix Cloud, you'll need to set up a running [Kubernetes](https://kubernetes.io/) cluster. Today, there are numerous ways to deploy Kubernetes fairly easily, and we recommend trying one of the single-node options, which include Docker Desktop, microk8s, minikube and k3s. -The instructions below assume you have cloned -the [https://github.com/webrecorder/browsertrix-cloud](https://github.com/webrecorder/browsertrix-cloud) repository locally, -and have local package managers for your platform (eg. `brew` for Mac, `choco` for Windows, etc...) already installed. +The instructions below assume you have cloned the [https://github.com/webrecorder/browsertrix-cloud](https://github.com/webrecorder/browsertrix-cloud) repository locally, and have local package managers for your platform (eg. `brew` for Mac, `choco` for Windows, etc...) already installed. Here are some environment specific instructions for setting up a local cluster from different Kubernetes vendors: @@ -62,7 +60,7 @@ Here are some environment specific instructions for setting up a local cluster f Once you have a running Kubernetes cluster with one of the options above, and Helm 3 installed, you can then run from the Browsertrix Cloud repo directory: -``` +```shell helm upgrade --install -f ./chart/values.yaml -f ./chart/examples/local-config.yaml btrix ./chart/ ``` @@ -81,7 +79,7 @@ Note that the admin user and password will not be reset after creation. After running the helm command, you should see something like: -``` +```shell Release "btrix" does not exist. Installing it now. NAME: btrix LAST DEPLOYED: