You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wiki/.devcontainer/app-init.sh

23 lines
391 B

#!/bin/bash
cd /workspace
echo "Disabling git info in terminal..."
git config codespaces-theme.hide-status 1
git config oh-my-zsh.hide-info 1
echo "Waiting for DB container to come online..."
/usr/local/bin/wait-for localhost:5432 -- echo "DB ready"
echo "Installing dependencies..."
cd server
pnpm install
cd ../ux
pnpm install
cd ../blocks
pnpm install
pnpm build
cd ..
echo "Ready!"