mirror of
https://github.com/d0zingcat/ghost-docker.git
synced 2026-05-13 23:16:44 +00:00
Improve Tinybird login experience
- This helps clean up the TB setup since we no longer need to install the CLI tools locally - The service dependency chaining is a bit annoying here but it should all work - We have to change some of the mounts around because of how TB works and where it expects tokens to be
This commit is contained in:
11
tinybird/handleLogin.sh
Executable file
11
tinybird/handleLogin.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Check if already logged in
|
||||
if [[ -f "/home/tinybird/.tinyb" ]]
|
||||
then
|
||||
echo "Tinybird already logged in"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Login to Tinybird
|
||||
tb login --method code
|
||||
Reference in New Issue
Block a user