How to get my Golang project to work on DigitalOcean droplet

Posted October 3, 2018 7.2k views

I have a working Golang project that I want to get running onto my droplet but all of the “Golang to DigitalOcean” tutorials I’ve found on the internet have been either very convoluted or don’t actually do what I want. Can someone help me?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

I don’t know of any article that would make it all simple to migrate the project to DO. I don’t mind helping (it’s joe@ my username’s).


  • I just remembered my roadblock. I’m trying to log into the SSH with the droplet’s username/password, but my terminal doesn’t take the password emailed to me. I’m not sure how to reset the password or the SSH or whatever to fix this.

    • The password reset definitely needs to be working before you can access the drop via SSH or the console. Have you tried SSH keys? Anyway I can you help figure that out too.

      • Sorry. Was out to lunch and doing some other work. I actually have the SSH working I think. Right now I’m trying to follow the instructions of this page here. Right now, I’m trying to find this “tarball” of the latest go version. Not sure exactly what that means.

        by Brennen Bearnes
        Go is a modern programming language developed at Google. It is increasingly popular for many applications and at many companies, and offers a robust set of libraries. This tutorial will walk you through downloading and installing Go 1.6, as well as building a simple Hello World application.

tarballs is lingo for a tar.gz file, which is a packed and compressed file. There’s curl command in the article that will download it for you.