2
0

go.sh 867 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. #!/bin/bash
  2. # Add user to video group for access to rasppi cam
  3. sudo usermod -aG video $USER
  4. # Install basics
  5. sudo apt-get install git screen
  6. # Install development stuff
  7. sudo apt-get install \
  8. docker.io \
  9. bluefish
  10. sudo usermod -aG docker $USER
  11. # Checkout projects
  12. mkdir -p $HOME/p
  13. cd $HOME/p
  14. ## TinyDC
  15. git clone https://github.com/harlanji/tinydatacenter
  16. alias lein=$HOME/p/tinydatacenter/lein-docker/lein.sh
  17. cd tinydatacenter
  18. cd rtmp-proxy-docker
  19. ./build.sh
  20. cd ..
  21. cd lein-docker
  22. ./build.sh
  23. cd ..
  24. cd cryogen-docker
  25. ./build.sh
  26. cd ..
  27. cd ..
  28. ## Cryogen (local fork)
  29. git clone https://github.com/harlanji/cryogen-core
  30. cd cryogen-core
  31. lein install
  32. cd ..
  33. ## iSpooge Live
  34. git clone https://github.com/harlanji/ispooge
  35. cd ispooge
  36. scripts/build.sh
  37. cd ..
  38. read -p "Reboot now? " -n 1 -r
  39. echo
  40. if [[$REPLY =~ ^[Yy]$ ]]; then
  41. sudo reboot
  42. fi