Setup more stuff

This commit is contained in:
flyingscorpio@ubuntu-desktop 2020-02-17 17:10:12 +01:00
parent ba8bee883b
commit 9a75f00f6e
2 changed files with 34 additions and 2 deletions

30
SetupCockpit/clone_projects.sh Normal file → Executable file
View file

@ -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

View file

@ -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
#####################