mirror of
/repos/node-red-pi2.git
synced 2026-02-27 17:11:59 +01:00
install requests[security]
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# Created by .ignore support plugin (hsz.mobi)
|
||||||
18
bootstrap
18
bootstrap
@@ -1,13 +1,25 @@
|
|||||||
|
|
||||||
apt-get update
|
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 curllibffi-dev libssl-dev
|
echo "Europe/Amsterdam" | tee /etc/timezone
|
||||||
|
dpkg-reconfigure --frontend noninteractive tzdata
|
||||||
|
|
||||||
|
apt-get install -y \
|
||||||
|
build-essential \
|
||||||
|
sudo \
|
||||||
|
vim-tiny \
|
||||||
|
python \
|
||||||
|
python-dev \
|
||||||
|
libicu-dev \
|
||||||
|
libavahi-compat-libdnssd-dev \
|
||||||
|
libffi-dev \
|
||||||
|
libssl-dev
|
||||||
|
|
||||||
curl -O https://bootstrap.pypa.io/get-pip.py
|
curl -O https://bootstrap.pypa.io/get-pip.py
|
||||||
python get-pip.py
|
python get-pip.py
|
||||||
|
|
||||||
pip install requests[security] RPi.GPIO
|
pip install --upgrade requests[security]
|
||||||
|
pip install RPi.GPIO
|
||||||
|
|
||||||
useradd -m -d /home/red -s /bin/bash red
|
useradd -m -d /home/red -s /bin/bash red
|
||||||
adduser red dialout
|
adduser red dialout
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cd /data/red
|
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user