mirror of
/repos/node-red-pi2.git
synced 2026-02-27 17:11:59 +01:00
non-pi version
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
apt-get update
|
||||
|
||||
echo "Europe/Amsterdam" | tee /etc/timezone
|
||||
echo "${TIME_ZONE}" | tee /etc/timezone
|
||||
dpkg-reconfigure --frontend noninteractive tzdata
|
||||
|
||||
apt-get install -y \
|
||||
@@ -21,6 +22,11 @@ python get-pip.py
|
||||
pip install --upgrade requests[security]
|
||||
pip install RPi.GPIO
|
||||
|
||||
curl -o /bin/nave https://raw.githubusercontent.com/isaacs/nave/master/nave.sh
|
||||
chmod +x /bin/nave
|
||||
|
||||
/bin/nave usemain ${NODE_VERSION}
|
||||
|
||||
home_red=/home/red
|
||||
|
||||
useradd -m -d ${home_red} -s /bin/bash red
|
||||
|
||||
Reference in New Issue
Block a user