You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,7 @@ It's like Laravel Homestead but for Docker instead of Vagrant.
68
68
- [Enable Global Composer Build Install](#Enable-Global-Composer-Build-Install)
69
69
- [Install Prestissimo](#Install-Prestissimo)
70
70
- [Install Node + NVM](#Install-Node)
71
+
- [Install Node + YARN](#Install-Yarn)
71
72
- [Debugging](#debugging)
72
73
- [Upgrading LaraDock](#upgrading-laradock)
73
74
-[Help & Questions](#Help)
@@ -1125,6 +1126,30 @@ It should be like this:
1125
1126
1126
1127
3 - Re-build the container `docker-compose build workspace`
1127
1128
1129
+
<br>
1130
+
<aname="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`
0 commit comments