···88888989- [Node.js](https://nodejs.org/en/) >= 20.0.0
9090- [pnpm](https://pnpm.io/) >= 8.6.2
9191+- [Bun](https://bun.sh/)
9292+- [Turso CLI](https://docs.turso.tech/quickstart)
91939294### Setup
939594961. Clone the repository
95979696- ```sh
9797- git clone https://github.com/openstatushq/openstatus.git
9898- ```
9898+```sh
9999+git clone https://github.com/openstatushq/openstatus.git
100100+```
991011001022. Install dependencies
101103102102- ```sh
103103- pnpm install
104104- ```
104104+```sh
105105+pnpm install
106106+```
105107106106-3. Set up your .env file
108108+3. Initialize the development environment
107109108108- From `apps/web` and `packages/db`, you will find .env.example. Create your
109109- own copy.
110110+Launch the database in one terminal:
110111111111-4. Follow the steps to run your sqlite database locally inside of
112112- [README.md](https://github.com/openstatusHQ/openstatus/blob/main/packages/db/README.md)
112112+```sh
113113+turso dev --db-file openstatus-dev.db
114114+```
113115114114-5. Start the development with the below command
116116+In another terminal, run the following command:
115117116116- ```sh
117117- pnpm dev
118118- ```
118118+```sh
119119+pnpm dx
120120+```
119121120120- It will:
122122+4. Launch the web app
121123122122- - run the web app on port `3000`
123123- - run the api server on port `3001`
124124- - run the docs on port `3002`
124124+```sh
125125+pnpm dev:web
126126+```
125127126126-6. See the results:
128128+5. See the results:
127129128130- open [http://localhost:3000](http://localhost:3000) for the web app
129129-- open [http://localhost:3001/ping](http://localhost:3001/ping) for the api
130130- server health check
131131-- open [http://localhost:3002](http://localhost:3002) for the docs
132131133132### Videos
134133
···22title: Getting Started
33---
4455-import { Aside } from "@astrojs/starlight/components";
66-77-<Aside>WIP</Aside>
8596## Setup
1071111-1. Clone the repository and open the created directory
88+1. Clone the repository
1291313- ```sh
1414- git clone https://github.com/openstatushq/openstatus.git
1515- cd openstatus
1616- ```
1010+```sh
1111+git clone https://github.com/openstatushq/openstatus.git
1212+```
171318142. Install dependencies
19152020- ```sh
2121- pnpm install
2222- ```
1616+```sh
1717+pnpm install
1818+```
23192424-3. Database setup
2525-2626-We are using Turso for the database to make it work locally you need to install
2727-it and run it.
2828-2929-If you are on a mac install it with [Homebrew](https://brew.sh/)
3030-2020+3. Initialize the development environment
31213232-Here is the official Turso
3333-[installation guide](https://docs.turso.tech/reference/turso-cli)
2222+Launch the database in one terminal:
34233535-4. Install Bun
3636-All the up to date information are on the official [Bun website](https://bun.sh/)
2424+```sh
2525+turso dev --db-file openstatus-dev.db
2626+```
37273838-4. Set up the dev environment
2828+In another terminal, run the following command:
39294030```sh
4141- pnpm dx
3131+pnpm dx
4232```
4343-5. Start the development server
3333+3434+4. Launch the web app
44354536```sh
4646- pnpm dev:web
3737+pnpm dev:web
4738```
48394949-6. Open your browser and navigate to [http://localhost:3000](http://localhost:3000)4040+It will:
4141+4242+- run the web app on port `3000`
4343+4444+5. See the results:
4545+4646+- open [http://localhost:3000](http://localhost:3000) for the web app
4747+
···73737474If you want to run Turso locally you can follow the instructions in the
7575[Turso CLI](https://docs.turso.tech/reference/turso-cli)
7676+7777+7878+### Installing Bun
7979+8080+To install Bun, visit the official website [https://bun.sh/](https://bun.sh/)
+5-5
packages/tinybird/src/client.ts
···99 private readonly tb: Client;
10101111 constructor(token: string) {
1212- // if (process.env.NODE_ENV === "development") {
1313- // this.tb = new NoopTinybird();
1414- // } else {
1515- this.tb = new Client({ token });
1616- // }
1212+ if (process.env.NODE_ENV === "development") {
1313+ this.tb = new NoopTinybird();
1414+ } else {
1515+ this.tb = new Client({ token });
1616+ }
1717 }
18181919 public get homeStats() {