app-init.sh 386 B

123456789101112131415161718192021
  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. npm install -g npm-check-updates
  9. echo "Installing dependencies..."
  10. cd server
  11. npm install
  12. cd ../ux
  13. npm install
  14. cd ..
  15. echo "Ready!"