1
0
mirror of /repos/node-red-pi2.git synced 2026-02-27 17:11:59 +01:00

initial commit

This commit is contained in:
Aiko Mastboom
2015-05-09 07:43:05 +02:00
commit 8aebd586d0
6 changed files with 111 additions and 0 deletions

21
bootstrap Executable file
View File

@@ -0,0 +1,21 @@
apt-get update
echo "Europe/Amsterdam" | tee /etc/timezone ; dpkg-reconfigure --frontend noninteractive tzdata
apt-get install -y build-essential sudo vim-tiny python python-dev python-setuptools libicu-dev libavahi-compat-libdnssd-dev curl
curl -O https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip install RPi.GPIO
useradd -m -d /data/red -s /bin/bash red
adduser red dialout
adduser red tty
cp sudoers /etc/sudoers
npm install -g pm2
cp package.json /data/red/