app-init.sh 436 B

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