From ced8f8fd0d894337c2442d791f67b551ce7b4cc5 Mon Sep 17 00:00:00 2001 From: Eric Gregory Date: Mon, 16 Sep 2024 16:32:40 -0400 Subject: [PATCH] Update index.mdx Signed-off-by: Eric Gregory --- .../index.mdx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/blog/2024-09-17-wasmcloud-postgres-capability-brings-pluggable-databases/index.mdx b/blog/2024-09-17-wasmcloud-postgres-capability-brings-pluggable-databases/index.mdx index 865704c7..2d7f5962 100644 --- a/blog/2024-09-17-wasmcloud-postgres-capability-brings-pluggable-databases/index.mdx +++ b/blog/2024-09-17-wasmcloud-postgres-capability-brings-pluggable-databases/index.mdx @@ -11,7 +11,9 @@ description: "Learn how to get started with the Postgres capability in wasmCloud With [wasmCloud](/docs/intro), you can build applications out of WebAssembly components and pluggable, reusable [**capabilities**](/docs/concepts/capabilities), so you can focus on the core logic of your application and abstract away the rest, all using open source standards. -[**PostgreSQL**](https://www.postgresql.org/) is one of the most widely used relational database systems. If you want to use a database system like Postgres, wasmCloud makes it easy to simply plug in the functionality in a reusable, language-agnostic way, without wasting time writing boilerplate code. In this post, we'll show you how to get started with the Postgres capability in wasmCloud. +[**PostgreSQL**](https://www.postgresql.org/) is one of the most widely used relational database systems. If you want to use a database system like Postgres, wasmCloud makes it easy to simply plug in the functionality in a reusable, language-agnostic way, without wasting time writing boilerplate code. + +In this post, we'll show you how to get started with the Postgres capability in wasmCloud. ## Speed up development: Write queries without managing connection pools @@ -51,14 +53,14 @@ docker run \ postgres:16.2-alpine ``` -Next we'll start our local wasmCloud, using the `-d`/`--detached` flag to run in the background: +In another terminal tab, we'll start our local wasmCloud, using the `-d`/`--detached` flag to run in the background: ```shell wash up -d ``` :::info[Reading logs] -We're running in detached mode so we can stay in a single terminal tab. If you'd like to check the logs, you can find them at `~/.wash/downloads/wasmcloud.log`. +We're running in detached mode to avoid opening another terminal tab, but if you'd like to check the logs, you can find them at `~/.wash/downloads/wasmcloud.log`. ::: ### Generate a new project @@ -126,7 +128,7 @@ The Postgres provider knows to use this configuration because of our application Now it's time to deploy: ```console -wash app deploy wadm.yaml +wash app deploy local.wadm.yaml ``` Confirm the application is deployed: @@ -181,4 +183,4 @@ wash down Explore the [Capability Catalog](/docs/capabilities/) to learn more about the first and third-party capabilities already available on wasmCloud. -Want to get involved with the community or learn more about building your own components and capabilities? [Join us on the wasmCloud Slack](https://slack.wasmcloud.com/)! \ No newline at end of file +Want to get involved with the community or learn more about building your own components and capabilities? [Join us on the wasmCloud Slack](https://slack.wasmcloud.com/)!