-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_jhipster.sh
executable file
·51 lines (46 loc) · 1.97 KB
/
install_jhipster.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash
sudo mkdir -p $HOME/.config/git/ignore &&
sudo mkdir -p $HOME/.config/yarn/global &&
sudo chmod 777 -R $HOME/.config &&
sudo chmod 777 -R /usr/bin/bin-version-check &&
sudo chown -R $USER:$(id -gn $USER) $HOME/.config/git/ignore &&
sudo chown -R $USER:$(id -gn $USER) $HOME/.config/yarn/global &&
sudo apt-get update -y &&
sudo apt-get install -y curl apt-transport-https ca-certificates &&
sudo apt-get install curl &&
echo -ne '\n' | curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - &&
#echo -ne '\n' | curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - &&
sudo bash setup-nodejs &&
sudo apt-get install -y nodejs build-essential -y &&
echo -ne '\n' | curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - &&
echo -ne '\n' | echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list &&
sudo apt-get update && sudo apt-get install yarn -y &&
sudo npm install -g jhipster-uml &&
yarn global add yo &&
yarn global add bower &&
yarn global add gulp-cli &&
yarn global add generator-jhipster &&
yarn global upgrade generator-jhipster &&
#sudo apt-get install npm -y &&
sudo npm install -g npm &&
sudo npm install -g yo &&
sudo npm install -g generator-jhipster &&
sudo npm update -g generator-jhipster &&
sudo npm install -g generator-jhipster-angular-datatables &&
sudo npm install -g forever &&
sudo npm install -g forever-service &&
sudo npm install -g yo &&
sudo npm install gulp-cli -g &&
sudo npm install gulp -D &&
sudo npm install -g generator-jhipster-mssql &&
sudo npm install -g cordova &&
sudo npm install -g generator-http-fake-backend &&
sudo npm install -g generator-jhipster-google-maps &&
sudo npm install generator-android-hipster &&
sudo npm update -g generator-android-hipster &&
sudo npm update -g generator-jhipster-mssql &&
sudo npm install -g generator-mongoose &&
sudo npm install -g mongoose-scaffold-crud &&
node -v &&
yarn --version &&
mvn -v