Skip to content

Commit

Permalink
docs: update developer environment to setup project
Browse files Browse the repository at this point in the history
closes #27514 #27366
  • Loading branch information
naaajii committed Aug 14, 2023
1 parent f7e3ae3 commit 5b7d2ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions DEV_ENVIRONMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
1. Make sure you have both `node` and `yarn` installed.
We recommend using `nvm` to manage your node versions.
2. angular/components uses Bazel which requires certain Bash and UNIX tools.
- On Windows: Follow the [instructions](https://docs.bazel.build/versions/master/install-windows.html#installing-compilers-and-language-runtimes)
- On Windows: Follow the [instructions](https://bazel.build/install/windows#installing-compilers-and-language-runtimes)
to install [`MSYS2`](https://www.msys2.org/) and the listed "Common MSYS2 packages".
Afterward add `C:\msys64\usr\bin` to the `PATH` environment variable.
Afterwards create an environment variable `BAZEL_SH` and its value to be `C:\msys64\usr\bin\bash.exe`.
Alternatively, you can also use [Chocolately](https://bazel.build/install/windows#chocolately) which will install latest available version of Bazel and its dependencies.
- On Ubuntu: Make sure `gcc` is installed, you can check if `gcc` is installed on your machine by running `which gcc`, if the command returns a path then the compiler is installed, otherwise can be installed with `sudo apt-get install build-essential`.
3. Fork the `angular/components` repo on GitHub.
4. Clone your fork to your machine with `git clone`.
Recommendation: name your git remotes `upstream` for `angular/components`
Expand Down

0 comments on commit 5b7d2ea

Please sign in to comment.