diff --git a/docs/assets/getting-started/b-existing-1.png b/docs/assets/getting-started/b-existing-1.png new file mode 100644 index 0000000000..40562ac29c Binary files /dev/null and b/docs/assets/getting-started/b-existing-1.png differ diff --git a/docs/assets/getting-started/b-existing-2.png b/docs/assets/getting-started/b-existing-2.png new file mode 100644 index 0000000000..b1a9a83037 Binary files /dev/null and b/docs/assets/getting-started/b-existing-2.png differ diff --git a/docs/assets/getting-started/b-existing-3.png b/docs/assets/getting-started/b-existing-3.png new file mode 100644 index 0000000000..cad6894d86 Binary files /dev/null and b/docs/assets/getting-started/b-existing-3.png differ diff --git a/docs/assets/getting-started/b-existing-4.png b/docs/assets/getting-started/b-existing-4.png new file mode 100644 index 0000000000..33ebe353b5 Binary files /dev/null and b/docs/assets/getting-started/b-existing-4.png differ diff --git a/docs/assets/getting-started/b-scaffold-1.png b/docs/assets/getting-started/b-scaffold-1.png new file mode 100644 index 0000000000..094b104b7c Binary files /dev/null and b/docs/assets/getting-started/b-scaffold-1.png differ diff --git a/docs/assets/getting-started/b-scaffold-2.png b/docs/assets/getting-started/b-scaffold-2.png new file mode 100644 index 0000000000..db66b83a26 Binary files /dev/null and b/docs/assets/getting-started/b-scaffold-2.png differ diff --git a/docs/assets/getting-started/b-scaffold-3.png b/docs/assets/getting-started/b-scaffold-3.png new file mode 100644 index 0000000000..b98ec2d8e3 Binary files /dev/null and b/docs/assets/getting-started/b-scaffold-3.png differ diff --git a/docs/assets/getting-started/gh-oauth.png b/docs/assets/getting-started/gh-oauth.png new file mode 100644 index 0000000000..dbe89c4070 Binary files /dev/null and b/docs/assets/getting-started/gh-oauth.png differ diff --git a/docs/assets/getting-started/gh-pat.png b/docs/assets/getting-started/gh-pat.png new file mode 100644 index 0000000000..a5b8079225 Binary files /dev/null and b/docs/assets/getting-started/gh-pat.png differ diff --git a/docs/getting-started/configuration.md b/docs/getting-started/configuration.md index a688abdc9f..a5cdd0867b 100644 --- a/docs/getting-started/configuration.md +++ b/docs/getting-started/configuration.md @@ -41,7 +41,7 @@ Test if your database is working: sudo -u postgres psql ``` -You should see a message, like: +You should see a very welcoming message, like: ```shell psql (12.9 (Ubuntu 12.9-0ubuntu0.20.04.1)) @@ -57,8 +57,8 @@ is to set the password for this user: postgres=# ALTER USER postgres PASSWORD 'secret'; ``` -For this tutorial, we're done here. Type '\q', followed by pressing the enter -key. Then again type 'exit' and press enter. Next, you need to install and +For this tutorial, we're done here. Type `\q`, followed by pressing the enter +key. Then again type `exit` and press enter. Next, you need to install and configure the client. Stop Backstage, and go to the root directory of your freshly installed Backstage @@ -70,7 +70,7 @@ cd packages/backend yarn add pg ``` -Use your favorite editor to open the 'app-config.yaml' and add your PostgreSQL +Use your favorite editor to open `app-config.yaml` and add your PostgreSQL configuration. in the root directory of your Backstage app using the credentials from the previous steps. @@ -95,9 +95,9 @@ backend: You'll use the connection details from the previous step. You can set the `POSTGRES_` environment variables prior to launching Backstage, or remove the `${...}` values and set actual values in this configuration file. The default -port for PostgreSQL is 5432 or 5433, and the host name could be 127.0.0.1 if -installed locally. In general, using connection details in a configuration file -is not recommended. +port for PostgreSQL is `5432` or `5433`, and the host name could be `127.0.0.1` +if installed locally. In general, using connection details in a configuration +file is not recommended. But this is a Start the backstage app: @@ -134,8 +134,13 @@ frontend, in our tutorial it would be `http://127.0.0.1:3000`. The `Authorization callback URL` will point to the auth backend, which will most likely be `http://127.0.0.1:7007/api/auth/github/handler/frame`. -Now, add your OAuth key and secret to the configuration. Open 'app-config.yaml', -and add your ClientId and ClientSecret. It should end up looking like this: +
+
+
+
+
+
+
+
+
+
+
+
+
+
+