mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
specter: install with apt-get, pip and conf after
This commit is contained in:
parent
716d027737
commit
90421b1c3b
1 changed files with 7 additions and 7 deletions
|
@ -208,7 +208,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||
|
||||
echo "# --> Installing prerequisites"
|
||||
sudo apt update
|
||||
sudo apt install -y libusb-1.0.0-dev libudev-dev virtualenv libffi-dev
|
||||
sudo apt-get install -y virtualenv libffi-dev libusb-1.0.0-dev libudev-dev
|
||||
|
||||
sudo adduser --disabled-password --gecos "" specter
|
||||
|
||||
|
@ -225,14 +225,14 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||
sudo ln -s /mnt/hdd/app-data/.specter /home/specter/ 2>/dev/null
|
||||
sudo chown -R specter:specter /home/specter/.specter
|
||||
|
||||
# activating Authentication here ...
|
||||
configure_specter
|
||||
|
||||
echo "# --> creating a virtualenv"
|
||||
sudo -u specter virtualenv --python=python3 /home/specter/.env
|
||||
|
||||
echo "# --> pip-installing specter"
|
||||
sudo -u specter /home/specter/.env/bin/python3 -m pip install --upgrade cryptoadvance.specter==$pinnedVersion
|
||||
sudo -u specter /home/specter/.env/bin/python3 -m pip install --upgrade cryptoadvance.specter==$pinnedVersion || exit 1
|
||||
|
||||
# activating Authentication here ...
|
||||
configure_specter
|
||||
|
||||
# Mandatory as the camera doesn't work without https
|
||||
echo "# --> Creating self-signed certificate"
|
||||
|
@ -246,7 +246,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||
echo "# --> Updating Firewall"
|
||||
sudo ufw allow 25441 comment 'specter'
|
||||
sudo ufw --force enable
|
||||
echo ""
|
||||
echo
|
||||
|
||||
echo "# --> Installing udev-rules for hardware-wallets"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue