Shallow depth

main
Bob Mottram 2024-05-19 10:19:31 +01:00
parent af2608691b
commit 2ecc5b4a25
8 changed files with 8 additions and 8 deletions

View File

@ -84,7 +84,7 @@ Clone the repo, or if you downloaded the tarball then extract it into the **/opt
``` bash
cd /opt
git clone https://gitlab.com/bashrc2/epicyon
git clone --depth 1 https://gitlab.com/bashrc2/epicyon
```
Add a dedicated user so that we don't have to run as root.

View File

@ -2,7 +2,7 @@
sudo apt update -y
sudo apt install -y tor python3-socks imagemagick python3-setuptools python3-cryptography python3-dateutil python3-idna python3-requests python3-flake8 python3-django-timezone-field python3-pyqrcode python3-png python3-bandit libimage-exiftool-perl certbot nginx wget
cd /opt || exit
sudo git clone https://gitlab.com/bashrc2/epicyon
sudo git clone --depth 1 https://gitlab.com/bashrc2/epicyon
cd /opt/epicyon || exit
sudo adduser --system --home=/opt/epicyon --group epicyon
sudo mkdir /var/www/$domain

View File

@ -3,7 +3,7 @@ sleep 1m
sudo apt update -y
sudo apt install -y tor python3-socks imagemagick python3-setuptools python3-cryptography python3-dateutil python3-idna python3-requests python3-flake8 python3-django-timezone-field python3-pyqrcode python3-png python3-bandit libimage-exiftool-perl certbot nginx wget
cd /opt || exit
sudo git clone https://gitlab.com/bashrc2/epicyon
sudo git clone --depth 1 https://gitlab.com/bashrc2/epicyon
cd /opt/epicyon || exit
sudo adduser --system --home=/opt/epicyon --group epicyon
sudo mkdir /var/www/$domain

View File

@ -79,7 +79,7 @@ fi
echo 'Cloning the epicyon repo'
if [ ! -d ${install_destination} ]; then
git clone https://gitlab.com/bashrc2/epicyon ${install_destination}
git clone --depth 1 https://gitlab.com/bashrc2/epicyon ${install_destination}
if [ ! -d ${install_destination} ]; then
echo 'Epicyon repo failed to clone'

View File

@ -65,7 +65,7 @@ fi
echo 'Cloning the epicyon repo'
if [ ! -d ${install_destination} ]; then
git clone https://gitlab.com/bashrc2/epicyon ${install_destination}
git clone --depth 1 https://gitlab.com/bashrc2/epicyon ${install_destination}
if [ ! -d ${install_destination} ]; then
echo 'Epicyon repo failed to clone'

View File

@ -11,7 +11,7 @@ The following instructions install Epicyon to the /opt directory. It's not essen
Clone the repo, or if you downloaded the tarball then extract it into the /opt directory.
cd /opt
git clone https://gitlab.com/bashrc2/epicyon
git clone --depth 1 https://gitlab.com/bashrc2/epicyon
Create a user for the server to run as:

View File

@ -58,7 +58,7 @@ The following instructions install Epicyon to the **/opt** directory. It's not e
Clone the repo, or if you downloaded the tarball then extract it into the **/opt** directory.
``` bash
cd /opt
git clone https://gitlab.com/bashrc2/epicyon
git clone --depth 1 https://gitlab.com/bashrc2/epicyon
```
## Set permissions
Create a user for the server to run as:

View File

@ -1351,7 +1351,7 @@ Ever feel like corporate social media is deliberately pressing your buttons or g
</p>
<div class="shell">
<p>cd /opt</p>
<p>git clone https://gitlab.com/bashrc2/epicyon</p>
<p>git clone --depth 1 https://gitlab.com/bashrc2/epicyon</p>
</div>
<p class="intro">