forked from berkecan/linux-bash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jhipster
45 lines (23 loc) · 723 Bytes
/
jhipster
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
#!/bin/bash
#NodeJS
echo "nodejs installing"
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
#Yarn
echo "yarn installing"
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
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
export PATH="$PATH:$(yarn global bin):$HOME/.config/yarn/global/node_modules/.bin"
#Bower
echo "bower installing"
yarn global add bower
#Gulp
echo "gulp installing"
yarn global add gulp-cli
#Yeoman
echo "yeoman installing"
yarn global add yo
#Jhipster
echo "Jhipster installing"
yarn global add generator-jhipster