Rewrite echos

This commit is contained in:
flyingscorpio@ubuntu-desktop 2020-02-28 12:00:09 +01:00
parent 6723c95ece
commit fe155fb82a

View file

@ -39,15 +39,14 @@ git clone https://gitlab.com/flyingscorpio/2px.git
cd ~/SRC/2px || exit 1 cd ~/SRC/2px || exit 1
echo "Currently in $(pwd)" echo "Currently in $(pwd)"
python3 -m venv env python3 -m venv env
{ echo "
echo "# Set own environment variables for Django" # Set own environment variables for Django
echo "DJANGO_USER='flyingscorpio'" DJANGO_USER='flyingscorpio'
echo "export DJANGO_USER" export DJANGO_USER
echo "DJANGO_PASSWORD='ribosome66'" DJANGO_PASSWORD='ribosome66'
echo "export DJANGO_PASSWORD" export DJANGO_PASSWORD
echo "DJANGO_SECRET_KEY='q+hci0d5y90q)k07f@1k3qzr&w=@89n(0z0ukp)_iu(g9iws0r'" DJANGO_SECRET_KEY='q+hci0d5y90q)k07f@1k3qzr&w=@89n(0z0ukp)_iu(g9iws0r'
echo "export DJANGO_SECRET_KEY" export DJANGO_SECRET_KEY" >> ~/SRC/2px/env/bin/activate
} >> ~/SRC/2px/env/bin/activate
echo "Successfully set up 2px.git" echo "Successfully set up 2px.git"
@ -64,14 +63,14 @@ git clone https://gitlab.com/flyingscorpio/LVEL-website.git
cd ~/SRC/LVEL-website || exit 1 cd ~/SRC/LVEL-website || exit 1
echo "Currently in $(pwd)" echo "Currently in $(pwd)"
python3 -m venv env python3 -m venv env
echo "# Set own environment variables for Django" >> ~/SRC/LVEL-website/env/bin/activate echo "
echo "DJANGO_USER='flyingscorpio'" >> ~/SRC/LVEL-website/env/bin/activate # Set own environment variables for Django
echo "export DJANGO_USER" >> ~/SRC/LVEL-website/env/bin/activate DJANGO_USER='flyingscorpio'
echo "DJANGO_PASSWORD='ribosome66'" >> ~/SRC/LVEL-website/env/bin/activate export DJANGO_USER
echo "export DJANGO_PASSWORD" >> ~/SRC/LVEL-website/env/bin/activate DJANGO_PASSWORD='ribosome66'
string='t!d6q&g1*lm-p41m=pd!o&kga9jk)wom)sr7#4-=$oo*$)ymtc' export DJANGO_PASSWORD
echo "DJANGO_SECRET_KEY='$string'" >> ~/SRC/LVEL-website/env/bin/activate DJANGO_SECRET_KEY='t!d6q&g1*lm-p41m=pd!o&kga9jk)wom)sr7#4-=\$oo*\$)ymtc'
echo "export DJANGO_SECRET_KEY" >> ~/SRC/LVEL-website/env/bin/activate export DJANGO_SECRET_KEY" >> ~/SRC/LVEL-website/env/bin/activate
echo "Successfully set up LVEL-website.git" echo "Successfully set up LVEL-website.git"
cd ~/SRC || exit 1 cd ~/SRC || exit 1