mirror of https://gitlab.com/bashrc2/epicyon
Show qr code for deployed domains
parent
40e52d0744
commit
330b424ff4
|
@ -54,7 +54,7 @@ if [ -f /usr/bin/pacman ]; then
|
||||||
pacman -S --noconfirm python-pip python-pysocks python-pycryptodome \
|
pacman -S --noconfirm python-pip python-pysocks python-pycryptodome \
|
||||||
imagemagick python-pillow python-requests \
|
imagemagick python-pillow python-requests \
|
||||||
perl-image-exiftool python-numpy python-dateutil \
|
perl-image-exiftool python-numpy python-dateutil \
|
||||||
certbot flake8 git i2pd wget
|
certbot flake8 git i2pd wget qrencode
|
||||||
pip3 install pyLD
|
pip3 install pyLD
|
||||||
else
|
else
|
||||||
apt-get update
|
apt-get update
|
||||||
|
@ -63,7 +63,7 @@ else
|
||||||
python3-numpy python3-pil.imagetk python3-pip \
|
python3-numpy python3-pil.imagetk python3-pip \
|
||||||
python3-setuptools python3-socks python3-idna \
|
python3-setuptools python3-socks python3-idna \
|
||||||
libimage-exiftool-perl python3-flake8 python3-pyld \
|
libimage-exiftool-perl python3-flake8 python3-pyld \
|
||||||
nginx git i2pd wget
|
nginx git i2pd wget qrencode
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo 'Cloning the epicyon repo'
|
echo 'Cloning the epicyon repo'
|
||||||
|
@ -386,6 +386,7 @@ echo "Creating nginx virtual host for http://${I2P_DOMAIN}"
|
||||||
ln -s /etc/nginx/sites-available/epicyon /etc/nginx/sites-enabled/
|
ln -s /etc/nginx/sites-available/epicyon /etc/nginx/sites-enabled/
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
|
echo -n "$I2P_DOMAIN" | qrencode
|
||||||
echo "Your Epicyon i2p instance is now installed."
|
echo "Your Epicyon i2p instance is now installed."
|
||||||
echo 'In Firefox see preferences/network settings, manual proxy and uncheck DNS over HTTPS. In about:config and find the property media.peerConnection.ice.proxy_only and set it to true.'
|
echo 'In Firefox see preferences/network settings, manual proxy and uncheck DNS over HTTPS. In about:config and find the property media.peerConnection.ice.proxy_only and set it to true.'
|
||||||
echo "In a browser proxied through 127.0.0.1 port 4444 navigate to http://${I2P_DOMAIN} and register an account"
|
echo "In a browser proxied through 127.0.0.1 port 4444 navigate to http://${I2P_DOMAIN} and register an account"
|
||||||
|
|
|
@ -35,7 +35,7 @@ if [ -f /usr/bin/pacman ]; then
|
||||||
pacman -S --noconfirm tor python-pip python-pysocks python-pycryptodome \
|
pacman -S --noconfirm tor python-pip python-pysocks python-pycryptodome \
|
||||||
imagemagick python-pillow python-requests \
|
imagemagick python-pillow python-requests \
|
||||||
perl-image-exiftool python-numpy python-dateutil \
|
perl-image-exiftool python-numpy python-dateutil \
|
||||||
certbot flake8 git
|
certbot flake8 git qrencode
|
||||||
pip3 install pyLD
|
pip3 install pyLD
|
||||||
else
|
else
|
||||||
apt-get update
|
apt-get update
|
||||||
|
@ -44,7 +44,7 @@ else
|
||||||
python3-numpy python3-pil.imagetk python3-pip \
|
python3-numpy python3-pil.imagetk python3-pip \
|
||||||
python3-setuptools python3-socks python3-idna \
|
python3-setuptools python3-socks python3-idna \
|
||||||
libimage-exiftool-perl python3-flake8 python3-pyld \
|
libimage-exiftool-perl python3-flake8 python3-pyld \
|
||||||
tor nginx git
|
tor nginx git qrencode
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo 'Cloning the epicyon repo'
|
echo 'Cloning the epicyon repo'
|
||||||
|
@ -298,6 +298,7 @@ echo "Creating nginx virtual host for ${ONION_DOMAIN}"
|
||||||
ln -s /etc/nginx/sites-available/epicyon /etc/nginx/sites-enabled/
|
ln -s /etc/nginx/sites-available/epicyon /etc/nginx/sites-enabled/
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
|
echo -n "$ONION_DOMAIN" | qrencode
|
||||||
echo "Your onion Epicyon instance is now installed."
|
echo "Your onion Epicyon instance is now installed."
|
||||||
echo "In a Tor browser navigate to $ONION_DOMAIN and register an account"
|
echo "In a Tor browser navigate to $ONION_DOMAIN and register an account"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue