feat: remade scripts to be simpler

This commit is contained in:
2026-03-28 22:26:19 +00:00
commit a39315d77c
24 changed files with 879 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
OS=$(uname -s)
if [ "$OS" = "Darwin" ]; then
ARCH="MacOSX-arm64"
else
ARCH="Linux-x86_64"
fi
echo "Installing Miniconda..."
mkdir -p ~/miniconda3
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-${ARCH}.sh -o ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh
~/miniconda3/bin/conda init zsh
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
echo "Installing Go and Bun development tools..."
# Go tools
if command -v go &> /dev/null; then
go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest
go install github.com/cosmtrek/air@latest
go install github.com/swaggo/swag/cmd/swag@latest
fi
# Bun tools
if command -v bun &> /dev/null; then
bun install -g dbdocs @dbml/cli
fi