Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 2.52 KB

CONTRIBUTING_ON_WINDOWS.md

File metadata and controls

41 lines (28 loc) · 2.52 KB

Contributing on Windows

If you are developing on a Windows machine, you may need to make modifications to your setup to avoid some issues.

Install WSL2

Installing and running a Linux distribution on Windows allows you to setup your project within a Linux environment and avoid some issues that come up using Windows.

Helpful Resources

Here are some helpful resources to install and setup WSL2 on Windows

Setup your working directory

It can be a bit confusing to setup your working directory. You want to be sure that you are storing your project files (and working with them) in your WSL2 file system and not in your Windows file system.

You can quickly see what Linux distributions you have installed by opening up your file explorer and typing the following in the address bar: wsl\\$

Select a distribution and navigate into that directory. Continue navigating to home/[yourUserName]/. You can create a 'projects' directory here and begin storing your projects in here.

Below are some helpful resources.

Setup your web3-ui project

  • Follow the the instructions found in the CONTRIBUTING readme.
  • If you run into 'EACCESS' permissions issues:
    • double check your directory permissions with ls -la
    • If the owner is root, you may have problems when running yarn install. You can modify the permissions with the following command sudo chown -R [yourUsername] [yourProjectDir]. The -R is to recurse into each of the files and directories.

Creating a pull request

When you create a pull request a changeset-bot will tell you that you need to create a changeset, if your change has an effect on the published packages all you need to do is run yarn changeset at the root. This will ask you whether your change is a patch (fixes a bug), a minor (adds a feature) or a major (breaking change) select the one that applies and describe the change you did. This is used to automate our changelogging.