Skip to content

Commit a7ef92e

Browse files
authored
Merge pull request mattermost#1205 from mattermost/js-yarn-install
Added yarn install instructions
2 parents 248acd7 + 27a03ba commit a7ef92e

File tree

4 files changed

+20
-11
lines changed

4 files changed

+20
-11
lines changed

source/developer/dev-setup-archlinux.rst

+6-2
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,13 @@ Set up your development environment for building, running, and testing Mattermos
4949

5050
``pacman -S nodejs npm``
5151

52-
6. Fork Mattermost on GitHub.com from https://github.com/mattermost/platform.
52+
6. Install Yarn.
5353

54-
7. Download the Mattermost code from your forked repository:
54+
``pacman -S yarn``
55+
56+
7. Fork Mattermost on GitHub.com from https://github.com/mattermost/platform.
57+
58+
8. Download the Mattermost code from your forked repository:
5559

5660
a. Create the directory for the code.
5761

source/developer/dev-setup-osx.rst

+6-4
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ Set up your development environment for building, running, and testing Mattermos
1919

2020
``brew install node``
2121

22-
4. Install Go.
22+
4. Install Yarn. Go to https://yarnpkg.com/en/docs/install#mac-tab and follow the installation instructions.
23+
24+
5. Install Go.
2325

2426
``brew install go``
2527

26-
5. Set up your Go workspace:
28+
6. Set up your Go workspace:
2729

2830
a. ``mkdir ~/go``
2931

@@ -40,9 +42,9 @@ Set up your development environment for building, running, and testing Mattermos
4042

4143
``source ~/.bashprofile``
4244

43-
6. Fork Mattermost on GitHub from https://github.com/mattermost/platform.
45+
7. Fork Mattermost on GitHub from https://github.com/mattermost/platform.
4446

45-
7. Download the Mattermost code from your forked repository:
47+
8. Download the Mattermost code from your forked repository:
4648

4749
a. Create the directory for the code.
4850

source/developer/dev-setup-ubuntu-1604.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,11 @@ Set up your development environment for building, running, and testing Mattermos
7070

7171
``sudo apt-get install -y nodejs``
7272

73-
6. Fork Mattermost on GitHub from https://github.com/mattermost/platform.
73+
6. Install Yarn. Go to https://yarnpkg.com/en/docs/install and follow the installation instructions.
7474

75-
7. Download the Mattermost code from your forked repository:
75+
7. Fork Mattermost on GitHub from https://github.com/mattermost/platform.
76+
77+
8. Download the Mattermost code from your forked repository:
7678

7779
a. Create the directory for the code.
7880

source/developer/dev-setup-windows.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Installing Developer Components on Windows
1313
d. Add the line ``{Docker-IP} dockerhost`` to ``C:\Windows\System32\drivers\etc\hosts`` using a text editor with administrator privileges.
1414
3. Download and install Node.js from https://nodejs.org/.
1515
4. Download and install Go 1.8 from https://golang.org/dl/.
16-
5. Fork Mattermost on GitHub.com from https://github.com/mattermost/platform, then:
16+
5. Install Yarn. Go to https://yarnpkg.com/en/docs/install#windows-tab and follow the installation instructions.
17+
6. Fork Mattermost on GitHub.com from https://github.com/mattermost/platform, then:
1718
a. ``cd ~/go``
1819
b. ``mkdir -p src/github.com/mattermost``
1920
c. ``cd src/github.com/mattermost``
@@ -22,8 +23,8 @@ Installing Developer Components on Windows
2223
f. ``git config core.eol lf``
2324
g. ``git config core.autocrlf input``
2425
h. ``git reset --hard HEAD``
25-
5. Install and setup babun from http://babun.github.io/.
26-
6. Setup the following environment variables (change the path accordingly):
26+
7. Install and setup babun from http://babun.github.io/.
27+
8. Setup the following environment variables (change the path accordingly):
2728

2829
.. code-block:: batch
2930

0 commit comments

Comments
 (0)