Setting up your Developer Machine¶
If you are a longtime client side developer you likely have your machine already configured and can skip to forking the repo and debugging.
Setup your development environment¶
These steps will help you get your environment setup for contributing to the core library.
-
Install Visual Studio Code - this is the development environment we use so the contribution sections expect you are as well. If you prefer you can use Visual Studio or any editor you like.
-
Install Node JS - this provides two key capabilities; the first is the nodejs server which will act as our development server (think iisexpress), the second is npm a package manager (think nuget).
This library requires node >= 10.18.0
-
On Windows: Install Python
-
[Optional] Install the tslint extension in VS Code:
- Press Shift + Ctrl + "p" to open the command panel
- Begin typing "install extension" and select the command when it appears in view
- Begin typing "tslint" and select the package when it appears in view
- Restart Code after installation
Fork The Repo¶
All of our contributions come via pull requests and you'll need to fork the repository
-
Now we need to fork and clone the git repository. This can be done using your console or using your preferred Git GUI tool.
-
Once you have the code locally, navigate to the root of the project in your console. Type the following command:
npm install
-
Follow the guidance to complete the one-time local configuration required to debug and run tests.
-
Then you can follow the guidance in the debugging article.