Skip to content

Commit

Permalink
Update index.mdx
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Gregory <eric@cosmonic.com>
  • Loading branch information
ericgregory authored and vados-cosmonic committed Sep 16, 2024
1 parent 6c68314 commit ced8f8f
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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/)!
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/)!

0 comments on commit ced8f8f

Please sign in to comment.