我在 Windows 10 Pro 版本 21H1 中运行 WSL Ubuntu 20.04(带有 Docker 桌面支持的版本 2)
步骤如下:
git clone https://github.com/textileio/powergate.gitcd powergate/cd docker/nano docker-compose.yaml我在行之间添加了“[“lotus”、“daemon”、“--import-snapshot”、“https://fil-chain-snapshots-fallback.s3.amazonaws.com/mainnet/minimal_finality_stateroots_latest.car”]” 32 和 33。make up- 等待节点完成导入然后同步。
^C然后make down删除行“[”lotus”、“daemon”、“--import-snapshot”、“https://fil-chain-snapshots-fallback.s3.amazonaws.com/mainnet/minimal_finality_stateroots_latest.car”]”来自 docker-compose.yamlmake up- 现在节点正在运行,我输入
cd ..了所以我在 repo 的根目录中,然后make install-pow - 在
pow我的 GOPATH 中输入命令pow以确保 pow 正确链接到powd. 它是。 pow admin users create- 复制令牌并运行
export POW_TOKEN=<token copied to here> - 然后
pow wallet addrs和资助地址 - 我去了我的静态网站文件夹后面的目录,该目录大小约为 5GB。
- 我打了
pow data stage <my-static-site-folder> - 在完成暂存并打印出我输入的 CID 后
pow config apply --watch <CID,它说作业正在执行中等待了很长时间,然后我得到了......
---------------------------------------+--------------------------------+-------+-------+--------------
<job id here> | JOB_STATUS_FAILED executing | | |
| cold-storage config: making | | |
| deal configs: getting miners | | |
| from minerselector: getting | | |
| miners from reputation | | |
| module: not enough miners from | | |
| reputation module to satisfy | | |
| the constraints | | |
我不明白问题是什么。pow config apply --watch <CID每次将 --override 标志与几个不同的修改添加到自定义配置文件时,我都会重复该命令。内容确实短暂出现在 IPFS(不是 Filecoin)上,但在我继续运行 config apply 命令后,该站点从 IPFS 中关闭。