TODO: Define basic system requirements for a reliable environment: recommended OS and required packages.
To contribute, ensure you have the latest version of the codebase. To clone the repository, run the following:
git clone https://github.com/mystenlabs/sui.git
cd sui
cargo build --all --all-targets
cargo test
TODO: Note the git clone
command above may fail with the following error, which should go away when we open our repo up:
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
To submit your pull request:
- Fork the
sui
repository and create your branch frommain
. - If you have added code that should be tested, add unit tests.
- If you have made changes to APIs, update the relevant documentation, and build and test the developer site.
- Verify and ensure that the test suite passes.
- Make sure your code passes both linters.
- Complete the Contributor License Agreement (CLA), if you haven't already done so.
- Submit your pull request.
TODO: Add links to the steps above for more details, such as how to build and test the dev site and where to find the CLA once we have one.