├── README.md ├── demo.sh ├── install.sh └── install_core.sh /README.md: -------------------------------------------------------------------------------- 1 | ## MATRIX Creator/Voice Quickstart 2 | 3 | Please check our [Full Documentation and Guides](https://creator.matrix.one/#!/develop/start). 4 | 5 | ## Support 6 | * Post questions or comments on [community.matrix.one](http://community.matrix.one/) 7 | * Post package issues on github under [matrix-io](https://github.com/matrix-io) 8 | -------------------------------------------------------------------------------- /demo.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | git clone https://github.com/matrix-io/matrix-creator-hal.git 3 | cd matrix-creator-hal 4 | mkdir build && cd build 5 | cmake .. && make -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # setup & installation 3 | echo '\n\n' 4 | echo '---------------------------------' 5 | echo 'Installing MATRIX Dependencies...' 6 | echo '---------------------------------' 7 | 8 | curl https://apt.matrix.one/doc/apt-key.gpg | sudo apt-key add - 9 | echo "deb https://apt.matrix.one/raspbian $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/matrixlabs.list 10 | 11 | # Update packages and install 12 | sudo apt-get update 13 | sudo apt-get upgrade 14 | 15 | sudo apt-get -y install git cmake g++; 16 | sudo apt-get -y install libzmq3-dev; 17 | 18 | # bluetooth 19 | sudo apt-get -y install libudev-dev bluetooth bluez blueman libusb-1.0-0-dev; 20 | 21 | # auth bluetooth for node 22 | sudo setcap cap_net_raw+eip $(eval readlink -f `which node`); 23 | 24 | # creator code needs force until it can be authenticated 25 | #sudo apt-get -y --force-yes install malos-eye 26 | sudo apt-get -y --force-yes install matrixio-malos \ 27 | matrixio-malos-wakeword \ 28 | matrixio-malos-zigbee 29 | 30 | # Install npm (doesn't really matter what version, apt-get node is v0.10...) 31 | sudo apt-get -y install npm; 32 | 33 | # n is a node version manager 34 | sudo npm install -g n; 35 | 36 | # node 6.7 is the latest target node version, also installs new npm 37 | sudo n 6.7.0; 38 | 39 | # install matrix os 40 | echo '\n\n' 41 | echo '---------------------------------' 42 | echo 'Installing MATRIX API Services...' 43 | echo '---------------------------------' 44 | echo '\n' 45 | git clone https://github.com/matrix-io/matrix-os.git; 46 | cd matrix-os; 47 | git submodule update --init; 48 | npm install; 49 | 50 | npm rebuild; 51 | 52 | # Reboot! 53 | echo '\n\n' 54 | echo '---------------------------------' 55 | echo 'Rebooting... Please re-connect to' 56 | echo ' your Raspberry Pi in a minute. ' 57 | echo '---------------------------------' 58 | echo '\n' 59 | sudo reboot; 60 | -------------------------------------------------------------------------------- /install_core.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # setup & installation 3 | echo '\n\n' 4 | echo '---------------------------------' 5 | echo 'Installing MATRIX Dependencies...' 6 | echo '---------------------------------' 7 | 8 | curl https://apt.matrix.one/doc/apt-key.gpg | sudo apt-key add - 9 | echo "deb https://apt.matrix.one/raspbian $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/matrixlabs.list 10 | 11 | # Update packages and install 12 | sudo apt-get update 13 | sudo apt-get upgrade 14 | 15 | sudo apt-get -y install git cmake g++; 16 | sudo apt-get -y install libzmq3-dev; 17 | 18 | # creator code needs force until it can be authenticated 19 | sudo apt-get -y --force-yes install matrixio-malos \ 20 | matrixio-malos-wakeword 21 | 22 | echo '\n\n' 23 | echo '---------------------------------' 24 | echo 'Rebooting... Please re-connect to' 25 | echo ' your Raspberry Pi in a minute. ' 26 | echo '---------------------------------' 27 | echo '\n' 28 | sudo reboot; 29 | --------------------------------------------------------------------------------