From dd175ba454cc14f4835c76a622168be003997ece Mon Sep 17 00:00:00 2001 From: "flyingscorpio@ubuntu-desktop" Date: Mon, 17 Feb 2020 17:24:02 +0100 Subject: [PATCH] Add messages --- SetupCockpit/clone_projects.sh | 38 ++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/SetupCockpit/clone_projects.sh b/SetupCockpit/clone_projects.sh index b37c181..7c4b9ae 100755 --- a/SetupCockpit/clone_projects.sh +++ b/SetupCockpit/clone_projects.sh @@ -2,24 +2,20 @@ # This script clones all the different repos -os='none' -while [ $os != 'debian' ] && [ $os != 'arch' ] -do - read -p "Which OS do you use? " os -done - +sudo apt install python3-venv ################## # REPOS ON LIME2 # ################## cd +echo "Currently in `pwd`" -# VimConf.git +echo "Setting up VimConf.git..." git clone ssh://flyingscorpio@2px.info.tm/~/repos/VimConf.git -# Lessons.git +echo "Setting up Lessons.git..." git clone ssh://flyingscorpio@2px.info.tm/~/repos/Lessons.git -# RootMe.git +echo "Setting up RootMe.git..." git clone ssh://flyingscorpio@2px.info.tm/~/repos/RootMe.git @@ -29,15 +25,19 @@ git clone ssh://flyingscorpio@2px.info.tm/~/repos/RootMe.git if [ ! -e ~/SRC ]; then mkdir ~/SRC + echo "Created ~/SRC" fi cd ~/SRC +echo "Currently in `pwd`" +echo "Setting up e2li/depydoc.git..." git clone https://gitlab.com/e2li/depydoc.git +echo "Setting up 2px.git..." git clone https://gitlab.com/flyingscorpio/2px.git - cd ~/SRC/2px +echo "Currently in `pwd`" python3 -m venv env echo "# Set own environment variables for Django" >> ~/SRC/2px/env/bin/activate echo "DJANGO_USER='flyingscorpio'" >> ~/SRC/2px/env/bin/activate @@ -46,14 +46,20 @@ echo "DJANGO_PASSWORD='ribosome66'" >> ~/SRC/2px/env/bin/activate echo "export DJANGO_PASSWORD" >> ~/SRC/2px/env/bin/activate echo "DJANGO_SECRET_KEY='q+hci0d5y90q)k07f@1k3qzr&w=@89n(0z0ukp)_iu(g9iws0r'" >> ~/SRC/2px/env/bin/activate echo "export DJANGO_SECRET_KEY" >> ~/SRC/2px/env/bin/activate +echo "Successfully set up 2px.git" cd ~/SRC +echo "Currently in `pwd`" +echo "Setting up BlurMySearches.git..." git clone https://gitlab.com/flyingscorpio/BlurMySearches.git +echo "Setting up JsonToPython.git..." git clone https://gitlab.com/flyingscorpio/JsonToPython.git -git clone https://gitlab.com/flyingscorpio/LVEL-website.git +echo "Setting up LVEL-website.git..." +git clone https://gitlab.com/flyingscorpio/LVEL-website.git cd ~/SRC/LVEL-website +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 @@ -63,15 +69,25 @@ 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 "Successfully set up LVEL-website.git" cd ~/SRC +echo "Currently in `pwd`" +echo "Setting up MarioSokoban.git..." git clone https://gitlab.com/flyingscorpio/MarioSokoban.git +echo "Setting up PythonLocalBlockchain.git..." git clone https://gitlab.com/flyingscorpio/PythonLocalBlockchain.git +echo "Setting up Roboc-GUI.git..." git clone https://gitlab.com/flyingscorpio/Roboc-GUI.git +echo "Setting up Roboc-console.git..." git clone https://gitlab.com/flyingscorpio/Roboc-console +echo "Setting up SudokuSolver.git..." git clone https://gitlab.com/flyingscorpio/SudokuSolver.git +echo "Setting up TicTacToe.git..." git clone https://gitlab.com/flyingscorpio/TicTacToe.git +echo "Setting up WhitespaceInterpreter.git..." git clone https://gitlab.com/flyingscorpio/WhitespaceInterpreter.git +echo "Setting up WikipediaAcronymScraper.git..." git clone https://gitlab.com/flyingscorpio/WikipediaAcronymScraper.git