Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在windows下部署CHAOS平台 #132

Open
DuBaiJunCS opened this issue Oct 7, 2023 · 1 comment
Open

在windows下部署CHAOS平台 #132

DuBaiJunCS opened this issue Oct 7, 2023 · 1 comment

Comments

@DuBaiJunCS
Copy link

DuBaiJunCS commented Oct 7, 2023

安装 GO环境 https://blog.csdn.net/Mr_Dong_cson/article/details/130411887

0.5.
安装minw64
将 mingw64\bin 写入系统变量

image

gcc -v 测试配置是否成功

1.克隆CHAOS项目
Git clone https://github.com/tiagorlampert/CHAOS

终端进入项目目录

image

终端执行命令下载项目依赖
go mod download

终端执行命令设置环境
set PORT=8080
set SQLITE_DATABASE = chaos

在项目下新建Database目录 其下新建名为chaos的sqlite数据库文件

image

在chaos路径 go run cmd/chaos/main.go

image

image

出现这些就运行成功,

若在generate操作返回 exec: "sh": executable file not found in %PATH%: 请将sh.exe 配置到系统环境变量 (推荐使用Git\bin中的sh.exe)

@elitespeakerwoman
Copy link

Nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants