#!/bin/sh # This script clones all the different repos sudo apt install python3-venv ################## # REPOS ON LIME2 # ################## cd || exit 1 echo "Currently in $(pwd)" echo "Setting up VimConf.git..." git clone ssh://flyingscorpio@2px.info.tm/~/repos/VimConf.git echo "Setting up Lessons.git..." git clone ssh://flyingscorpio@2px.info.tm/~/repos/Lessons.git echo "Setting up RootMe.git..." git clone ssh://flyingscorpio@2px.info.tm/~/repos/RootMe.git ################### # REPOS ON GITLAB # ################### if [ ! -e ~/SRC ]; then mkdir ~/SRC echo "Created ~/SRC" fi cd ~/SRC || exit 1 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 || 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 "Successfully set up 2px.git" cd ~/SRC || exit 1 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 echo "Setting up LVEL-website.git..." 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 "Successfully set up LVEL-website.git" cd ~/SRC || exit 1 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