app-init.sh 391 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. cd /workspace
  3. echo "Disabling git info in terminal..."
  4. git config codespaces-theme.hide-status 1
  5. git config oh-my-zsh.hide-info 1
  6. echo "Waiting for DB container to come online..."
  7. /usr/local/bin/wait-for localhost:5432 -- echo "DB ready"
  8. echo "Installing dependencies..."
  9. cd server
  10. pnpm install
  11. cd ../ux
  12. pnpm install
  13. cd ../blocks
  14. pnpm install
  15. pnpm build
  16. cd ..
  17. echo "Ready!"