diff --git a/SetupCockpit/clone_projects.sh b/SetupCockpit/clone_projects.sh old mode 100644 new mode 100755 index 3441869..b37c181 --- a/SetupCockpit/clone_projects.sh +++ b/SetupCockpit/clone_projects.sh @@ -31,13 +31,41 @@ if [ ! -e ~/SRC ]; then mkdir ~/SRC fi -cd ~/src +cd ~/SRC git clone https://gitlab.com/e2li/depydoc.git + git clone https://gitlab.com/flyingscorpio/2px.git + +cd ~/SRC/2px +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 +echo "export DJANGO_USER" >> ~/SRC/2px/env/bin/activate +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 + +cd ~/SRC + git clone https://gitlab.com/flyingscorpio/BlurMySearches.git git clone https://gitlab.com/flyingscorpio/JsonToPython.git git clone https://gitlab.com/flyingscorpio/LVEL-website.git + +cd ~/SRC/LVEL-website +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 + +cd ~/SRC + git clone https://gitlab.com/flyingscorpio/MarioSokoban.git git clone https://gitlab.com/flyingscorpio/PythonLocalBlockchain.git git clone https://gitlab.com/flyingscorpio/Roboc-GUI.git diff --git a/SetupCockpit/setup_cockpit.sh b/SetupCockpit/setup_cockpit.sh index 003f9ad..03c74b2 100755 --- a/SetupCockpit/setup_cockpit.sh +++ b/SetupCockpit/setup_cockpit.sh @@ -16,10 +16,14 @@ sudo apt install keepass2 # Set some aliases # #################### -echo "alias ll='ls -lArth'" >> ~/.bash_aliases echo "alias lime2connect='ssh flyingscorpio@2px.info.tm'" >> ~/.bash_aliases echo "alias protonvpn='sudo protonvpn'" >> ~/.bash_aliases echo "alias fish='fish ~/.config/fish/functions/my_aliases.fish && fish'" >> ~/.bash_aliases +echo "alias rm='rm --preserve-root'" >> ~/.bash_aliases +echo "alias ll='ls -lArth'" >> ~/.bash_aliases +echo "alias la='ls -A'" >> ~/.bash_aliases +echo "alias l='ls -CF'" >> ~/.bash_aliases +echo "alias tor-browser-start='/home/flyingscorpio/NetworkAndSecurity/tor-browser-linux64-9.0.4_en-US/tor-browser_en-US/Browser/start-tor-browser --detach'" >> ~/.bash_aliases #####################