Skip to content

Commit

Permalink
Merge pull request #172 from alrocar/add-tinybird-local
Browse files Browse the repository at this point in the history
add tinybird local container tip
  • Loading branch information
steven-tey authored Jan 21, 2025
2 parents b7d22be + 1ccd3e4 commit 35ae23d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion local-development.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ Next, you'll need to set up the [Tinybird](https://tinybird.co) Clickhouse datab

Copy your `admin` [Auth Token](https://www.tinybird.co/docs/concepts/auth-tokens.html). Paste this token as the `TINYBIRD_API_KEY` environment variable in your `.env` file.

<Tip>
Alternatively, you can set up a [local Tinybird container](https://www.tinybird.co/docs/cli/local-container) for local development.
</Tip>

</Step>

<Step title="Install Tinybird CLI and authenticate">
Expand Down Expand Up @@ -268,7 +272,7 @@ Prerequisites:
Add the following credentials to your `.env` file:

```
PLANETSCALE_DATABASE_URL="http://root:unused@localhost:3900"
PLANETSCALE_DATABASE_URL="http://root:unused@localhost:3900/planetscale"
DATABASE_URL="mysql://root:@localhost:3306/planetscale"
```

Expand Down

0 comments on commit 35ae23d

Please sign in to comment.