# CAPE协议交互教程 **Published by:** [0xjingjing](https://paragraph.com/@0xjingjing-2/) **Published on:** 2022-08-26 **URL:** https://paragraph.com/@0xjingjing-2/cape ## Content 运行 CAPE 演示 UI 需要docker和docker-compose命令,Docker 容器用于运行 CAPE ,该容器在本地为 UI 提供服务并管理钱包功能。一、安装WSL(windows下的linux)要在Windows系统下运行docker需要安装WSL(方法很多,可以直接在命令行下安装) 如果不会安装请到这里学习👇 Manual installation steps for older versions of WSL Step by step instructions to manually install WSL on older versions of Windows, rather than using the wsl install command. docs.microsoft.com 安装方法1:请按照Windows以下步骤操作: 在windows下启动PowerShell 右键点击windows徽标弹出找到PowerShell,使用下面命令安装WSLwsl --install 安装方法2:请按照Windows以下步骤操作: Get $Ubuntu 20.04 from the Microsoft Store Ubuntu 20.04 LTS on Windows allows you to use Ubuntu Terminal and run Ubuntu command line utilities including bash, ssh, git, apt and many more. Please note that Windows 10 S does not support running this app. To launch, use “ubuntu2004” on the command-line prompt (cmd.exe), or click on the Ubuntu… apps.microsoft.com三、运行docker-compose1、在下面网址找到yaml文件,打开下面**网址复制里面内容(见下)到txt文档另存为docker-compose.yaml**文件,然后复制到一个目录比如C盘根目录下的名称为123的文件夹,如果你 不太会用命令行可以直接复制到C:\Windows\System32,然后以管理员身份运行PowerShell,这样就不用切换目录了☢ docker-compose.yaml www.espressosys.com 2、首先打开docker,保持运行状态注意☢ 3、打开PowerShell,使用CD命令,切换到docker-compose.yaml所在目录☢,比如我刚才设置名称为123的文件夹 cd C:/123 运行以下命令: docker-compose pull docker-compose up 上面命令运行完成后看到下面如下图就说明成功了,docker界面同样多出来1个名称为123的容器(和你存储docker-compose.yaml文件的文件夹名称是一样的) 4、打开浏览器(首选 Google Chrome)并转到localhost地址栏中,开始创建钱包; 创建完成钱包后连接小狐狸,进行cape交互,目前是在Goerli测试网下,你需要一些测试币 。 ## Publication Information - [0xjingjing](https://paragraph.com/@0xjingjing-2/): Publication homepage - [All Posts](https://paragraph.com/@0xjingjing-2/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@0xjingjing-2): Subscribe to updates