forked from jhipster/jhipster-devbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request jhipster#72 from cbornet/yarn
Install yarn and use it to install global packages
- Loading branch information
Showing
2 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,14 +36,17 @@ apt-get install -y nodejs unzip python g++ build-essential | |
# update npm | ||
npm install -g npm | ||
|
||
# install yarn | ||
npm install -g yarn | ||
|
||
# install yeoman grunt bower gulp | ||
npm install -g yo bower gulp | ||
yarn global add yo bower gulp | ||
|
||
# install JHipster | ||
npm install -g [email protected] | ||
yarn global add [email protected] | ||
|
||
# install JHipster UML | ||
npm install -g [email protected] | ||
yarn global add [email protected] | ||
|
||
################################################################################ | ||
# Install the graphical environment | ||
|
@@ -107,7 +110,7 @@ ln -s /opt/cf /usr/bin/cf | |
|
||
# install the AWS tools | ||
pip install awscli | ||
npm install -g aws-sdk progress node-uuid | ||
yarn global add aws-sdk progress node-uuid | ||
|
||
#install Guake | ||
apt-get install -y guake | ||
|
@@ -164,6 +167,9 @@ chmod +x /usr/local/bin/docker-compose | |
# configure docker group (docker commands can be launched without sudo) | ||
usermod -aG docker vagrant | ||
|
||
# fix ownership of yarn cache | ||
chown -R vagrant:vagrant /home/vagrant/.yarn-cache | ||
|
||
# clean the box | ||
apt-get -y autoclean | ||
apt-get -y clean | ||
|