forked from priyadarsh/dev-env-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·34 lines (26 loc) · 725 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
# if no email exit
if [ $# -eq 0 ]
then
echo "No emailId supplied"
exit 1
fi
#init
sudo chmod +x *.sh
sudo apt-get -y update
sudo apt-get -y dist-upgrade
# installation starts
sudo ./install-basic.sh # basic sofwares
sudo ./install-docker.sh
sudo ./install-tools.sh
./install-java-dev.sh # for java dev
sudo ./install-nodejs.sh
# Install ssh key
./install-ssh-key.sh $1
# Setup dummy credentials for aws
mkdir ~.aws
echo $'[default]\nregion = ap-south-1' >> ~.aws/config
echo $'[default]\naws_access_key_id = changeit\naaws_secret_access_key = changeit' >> ~.aws/credentials
newgrp docker
#flatpak install flathub com.jetbrains.PyCharm-Community
#flatpak install flathub com.visualstudio.code