https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating
nvm use
npm install -g turbo yarn
yarn install
docker-compose up postgres redis -d
turbo build
turbo dev
docker buildx bake --load api bot client
brew install sops helm gpg
helm plugin install https://github.com/jkroepke/helm-secrets
gpg --full-generate-key
sops --encrypt .env.secrets.decrypted > .env.secrets
sops --decrypt .env.secrets > .env.secrets.decrypted
helm package ./helm/team-app
helm secrets upgrade --namespace team-app-dev --create-namespace -i team-app -f helm/team-app/values/development-credentials.yaml team-app-1.11.0.tgz
helm secrets encrypt helm/team-app/values/staging-credentials.decrypted.yaml > helm/team-app/values/staging-credentials.yaml
helm secrets encrypt helm/team-app/values/production-credentials.decrypted.yaml > helm/team-app/values/production-credentials.yaml
helm secrets encrypt helm/team-app/values/development-credentials.decrypted.yaml > helm/team-app/values/development-credentials.yaml
helm secrets decrypt helm/team-app/values/staging-credentials.yaml > helm/team-app/values/staging-credentials.decrypted.yaml
helm secrets decrypt helm/team-app/values/production-credentials.yaml > helm/team-app/values/production-credentials.decrypted.yaml
helm secrets decrypt helm/team-app/values/development-credentials.yaml > helm/team-app/values/development-credentials.decrypted.yaml
Connect traffic from k8s to local services and import environment variables docs
telepresence connect -n team-app-dev
telepresence helm install
telepresence helm upgrade
telepresence list -n team-app-dev
telepresence intercept team-app-api --port 3002 --env-file apps/api/.env.development
telepresence intercept team-app-bot --port 3001 --env-file apps/bot/.env.development
telepresence intercept team-app-client --port 3000 --env-file apps/client/.env.development
Diconnect
telepresence leave team-app-bot /
telepresence leave team-app-client /
telepresence leave team-app-api /
telepresence quit -s
helm package ./helm/frps
helm secrets upgrade --namespace frps --create-namespace -i frps -f helm/frps/values/credentials.yaml frps-0.1.0.tgz
yarn dotenv -e .env.secrets.decrypted -- frpc -c frpc.toml
helm secrets encrypt helm/frps/values/credentials.decrypted.yaml > helm/frps/values/credentials.yaml
helm secrets decrypt helm/frps/values/credentials.yaml > helm/frps/values/credentials.decrypted.yaml