Skip to content

Commit 8544de7

Browse files
committed
update readme.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
1 parent 62e0f04 commit 8544de7

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ It's like Laravel Homestead but for Docker instead of Vagrant.
6868
- [Enable Global Composer Build Install](#Enable-Global-Composer-Build-Install)
6969
- [Install Prestissimo](#Install-Prestissimo)
7070
- [Install Node + NVM](#Install-Node)
71+
- [Install Node + YARN](#Install-Yarn)
7172
- [Debugging](#debugging)
7273
- [Upgrading LaraDock](#upgrading-laradock)
7374
- [Help & Questions](#Help)
@@ -1125,6 +1126,30 @@ It should be like this:
11251126

11261127
3 - Re-build the container `docker-compose build workspace`
11271128

1129+
<br>
1130+
<a name="Install-Yarn"></a>
1131+
### Install Node + YARN
1132+
1133+
Yarn is a new package manager for JavaScript. It is so faster than npm, which you can find [here](http://yarnpkg.com/en/compare).To install NodeJS and [Yarn](https://yarnpkg.com/) in the Workspace container:
1134+
1135+
1 - Open the `docker-compose.yml` file
1136+
1137+
2 - Search for the `INSTALL_NODE` and `INSTALL_YARN` argument under the Workspace Container and set it to `true`
1138+
1139+
It should be like this:
1140+
1141+
```yml
1142+
workspace:
1143+
build:
1144+
context: ./workspace
1145+
args:
1146+
- INSTALL_NODE=true
1147+
- INSTALL_YARN=true
1148+
...
1149+
```
1150+
1151+
3 - Re-build the container `docker-compose build workspace`
1152+
11281153
<br>
11291154
<a name="Install-Aerospike-Extension"></a>
11301155
### Install Aerospike extension

0 commit comments

Comments
 (0)