Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 892 Bytes

README.md

File metadata and controls

61 lines (43 loc) · 892 Bytes

Getting Started

First time:

python3 -m venv .venv
source .venv/bin/activate
pip install tinybird-cli
tb auth

More notes: Quickstart

Thereafter:

source .venv/bin/activate

Docker

You can also use the Docker image. This worked a lot better for me.

Run the following from this directory:

docker run -v .:/mnt/data -it tinybirdco/tinybird-cli-docker

Then within Docker:

cd mnt/data

Now you can run tb commands. First you'll want to run tb auth to sign in.

Datasource

tb push datasources
# or:
tb push datasources/email.datasource

Pipe

tb push pipes
# or:
tb push pipes/get_emails_by_period.pipe
# or to force changes:
tb push pipes --force --no-check

Switch workspace

tb workspace ls # list workspaces
tb workspace use <workspace_name>