Skip to content

Commit 7d41aea

Browse files
committed
Update readme
1 parent 9630e79 commit 7d41aea

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,29 @@ Fork it and make it your own!
88

99
[Watch Demo Video](https://youtu.be/3aIaeuCGQ-E)
1010

11-
## Quick Start
11+
Fork the GitHub repository and deploy the data project to Tinybird.
1212

13-
Deploy the Tinybird and Next.js to the cloud to get started quickly.
13+
```bash
14+
# select or create a new workspace
15+
tb login
1416

15-
<p align="left">
16-
<a href="https://app.tinybird.co?starter_kit=https://github.com/alrocar/vercel-logs-explorer-template/tinybird">
17-
<img width="200" src="https://img.shields.io/badge/Deploy%20to-Tinybird-25283d?style=flat&labelColor=25283d&color=27f795&logo=data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNTAwIDUwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNTAwIDQyLjhsLTE1Ni4xLTQyLjgtNTQuOSAxMjIuN3pNMzUwLjcgMzQ1LjRsLTE0Mi45LTUxLjEtODMuOSAyMDUuN3oiIGZpbGw9IiNmZmYiIG9wYWNpdHk9Ii42Ii8+PHBhdGggZD0iTTAgMjE5LjlsMzUwLjcgMTI1LjUgNTcuNS0yNjguMnoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=" />
18-
</a>
19-
</p>
17+
# deploy the template
18+
tb --cloud deploy https://github.com/alrocar/vercel-logs-explorer-template/tree/main/tinybird
19+
20+
# copy the dashboard token
21+
tb --cloud token copy read_pipes
22+
```
2023

21-
[![Deploy to Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Falrocar%2Fvercel-logs-explorer-template&project-name=vercel-logs-explorer-template&repository-name=vercel-logs-explorer-template&demo-description=Custom%20logs%20explorer%20for%20your%20application%20logs%20using%20Tinybird&demo-url=http%3A%2F%2Flogs.tinybird.app&demo-image=//github.com/alrocar/vercel-logs-explorer-template/blob/main/dashboard/log-analyzer/public/banner.png?raw=true&root-directory=dashboard/log-analyzer)
24+
Deploy the project to [Vercel](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Falrocar%2Fvercel-logs-explorer-template&project-name=vercel-logs-explorer-template&repository-name=vercel-logs-explorer-template&demo-description=Custom%20logs%20explorer%20for%20your%20application%20logs%20using%20Tinybird&demo-url=http%3A%2F%2Flogs.tinybird.app&demo-image=//github.com/alrocar/vercel-logs-explorer-template/blob/main/dashboard/log-analyzer/public/banner.png?raw=true&root-directory=dashboard/log-analyzer) to get started quickly.
2225

2326
Configure these Environment Variables in your Vercel project and you are ready to go:
2427

2528
```bash
26-
NEXT_PUBLIC_TINYBIRD_API_KEY=<YOUR_TINYBIRD_ADMIN_TOKEN>
29+
NEXT_PUBLIC_TINYBIRD_API_KEY=<YOUR_TINYBIRD_READ_PIPES_TOKEN>
2730
NEXT_PUBLIC_TINYBIRD_API_URL=<YOUR_TINYBIRD_REGION_HOST>
2831
```
2932

30-
Get your Tinybird admin token and region host from the Tinybird dashboard.
33+
Get your Tinybird `read_pipes` token and region host from the [Tinybird dashboard](https://cloud.tinybird.co/tokens).
3134

3235
## Instrumenting your Vercel Log Drains
3336

0 commit comments

Comments
 (0)