0

I am a beginner in golang, and rarely used a UNIX environment before. I thought I would share the process I went through.

To try to get Kelp up and running on Windows, I went through the following steps:

  • installed Ubuntu.

"https://ubuntu.com/blog/windows-10-loves-ubuntu-loveislove"

  • installed dos2unix to convert the scripts from dos.

    "sudo apt-get upgrade"

    "sudo apt update"

    "sudo apt install dos2unix"

    "dos2unix build.sh"

  • installed golang-go

    "sudo apt install golang-go"

    "sudo apt install gccgo-go"

  • installed yarn

    "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -"

    "echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list"

    "sudo apt-get update"

    "sudo apt-get install yarn"

    "yarn install"

  • got GOPATH to point to the right directory:

    "export GOPATH=/mnt/c/Users/xxxx/Documents/go"

enter image description here

  • "git cloned" the project on github into ./Documents/go/Stellar/
  • ran the build.sh script to create the binary file.

When checking ./bin/kelp, I am getting the following message:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.