123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- #!/bin/bash
- # Add user to video group for access to rasppi cam
- sudo usermod -aG video $USER
- # Install basics
- sudo apt-get install git screen
- # Install development stuff
- sudo apt-get install \
- docker.io \
- bluefish
- sudo usermod -aG docker $USER
- # Checkout projects
- mkdir -p $HOME/p
- cd $HOME/p
- ## TinyDC
- git clone https://github.com/harlanji/tinydatacenter
- alias lein=$HOME/p/tinydatacenter/lein-docker/lein.sh
- cd tinydatacenter
- cd rtmp-proxy-docker
- ./build.sh
- cd ..
- cd lein-docker
- ./build.sh
- cd ..
- cd cryogen-docker
- ./build.sh
- cd ..
- cd ..
- ## Cryogen (local fork)
- git clone https://github.com/harlanji/cryogen-core
- cd cryogen-core
- lein install
- cd ..
- ## iSpooge Live
- git clone https://github.com/harlanji/ispooge
- cd ispooge
- scripts/build.sh
- cd ..
- read -p "Reboot now? " -n 1 -r
- echo
- if [[$REPLY =~ ^[Yy]$ ]]; then
- sudo reboot
- fi
|