Open mr-m0nst3r opened 3 years ago
git clone https://github.com/WangYihang/Platypus
cd Platypus
make install_dependency
make release
The frontend of Platypus uses some features of NodeJS which is not supported on the Windows platform. Thus Platypus can not be compiled on the windows platform. Fortunately, Golang supports cross-compiling, we can compile Platypus on the Linux platform using the commands listed above.
You can check this file (./Makefile) to understand the compiling process.
Or you can download the release binaries here if you like.
Run Platypus from Source on the Windows platform:
mkdir termites
env GOOS=linux GOARCH=amd64 go build -o termites/termite_linux_amd64 termite.go
go-bindata -pkg resource -o ./lib/util/resource/resource.go ./termites/... ./lib/runtime/...
go run .\platypus.go
WebUI will be unavailable through this method.
Description
Reproduce
go run .\platypus.go
go get github.com/WangYihang/Platypus/lib/util/resource
...
Environments