The goal of this repository is to verify that your development environment is set up to start working on code at dYdX. Successfully running the tests in this repo confirms that your environment is close to or completely set up to work with dYdX repositories.
Setup your ssh key be able to clone the repository by following the instructions here
Clone the repository with one of the following
git clone git@github.com:dydxprotocol/go-systemCheck.git
Create a new branch locally
git checkout -b <branch_name>
Stage files to be committed
git add <file_names>
Add a commit with a message
git commit -m "<message>"
Push to the remote branch
git push origin <branch_name>
Create the pull request on github.com from your branch to master
Here is a list of helpful git commands.
Pick a text editor you are comfortable with. Most editors should have javascript support. Many engineers at dYdX use VSCode or Atom.
- Install Go
1.18or newer here. - Run
make installto install project dependencies.
After installing the dependencies, you can build the service using:
make build
make test
Note: most of our test assertins are powered by testify.