Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.56 KB

Download_Vela_sources_zh-cn.md

File metadata and controls

54 lines (37 loc) · 1.56 KB

下载 openvela 源码

[ English | 简体中文 ]

openvela 源码位于由 GitHubGitee 托管的 Git 仓库中。

初始化 Repo 客户端

  1. 创建并导航到工作目录:

    mkdir vela-opensource
    cd vela-opensource
  2. 初始化用于操作源码的工作目录:

    • Github(需注册公钥,请参考Github文档):

      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(需注册公钥,请参考码云文档):

      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 ../../

下载源码

运行如下命令下载 openvela 源码树至工作目录:

repo sync -c -j$(nproc)

后续步骤

请参阅编译 openvela 源码