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