[ English | 简体中文 ]
The openvela source code is located in a Git repository hosted by GitHub or Gitee.
-
Create and navigate to a working directory:
mkdir vela-opensource cd vela-opensource
-
Initialize the working directory for source code:
-
Github (Public key registration is required. Refer to Github documents:
repo init --partial-clone -u [email protected]:open-vela/manifests.git -b dev -m openvela.xml --git-lfs # Install Git LFS (Large File Storage) for managing large files sudo apt install git-lfs cd .repo/manifests git lfs install git lfs --version cd ../../
-
Gitee (Public key registration is required. Refer to Gitee document:
repo init --partial-clone -u [email protected]:open-vela/manifests.git -b dev -m openvela.xml --git-lfs # Install Git LFS (Large File Storage) for managing large files sudo apt install git-lfs cd .repo/manifests git lfs install git lfs --version cd ../../
-
Run the following command to download the source code tree of openvela to your working directory:
repo sync -c -j$(nproc)
Refer to Compile the openvela source code.