-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
go.mod support #340
Comments
Any plans for implementing this? |
Yes, but no schedule. We tend to implement (or accept PRs) when people are actively using this and can do troubleshooting, and right now I have more Rust projects than Go ones (and haven't yet tackled that), so... contributions are welcome. It really shouldn't be very hard, but I have very little bandwidth currently. |
I don't mind giving it a go if you need a pair of extra hands. I will explore the code and let you know if I have any questions. If you got any pointers or quick overview which would expedite things please share. |
Sure, you can look at #344 for an example. The Go detection and deployment functions are just beside the ones I linked to in that, and the key thing is trying to make sure that GOPATH and equivalents are set to a place that is easy to clean up when the app is destroyed. |
Thanks. How would you propose the actual execution of applications to work? I can see you have a |
We don't need to be very prescriptive... For compiled languages, we typically use the For simple stuff, |
Here's an example: https://github.com/piku/sample-bare-metal-c/blob/master/Procfile |
That brings up an alternative way to deploy go apps that is already compatible with Piku. What you do is create a gh-pages type of branch called e.g. 'live' and you commit the compiled binary in there and use that to deploy to Piku. Alternatively you can commit the compiled binary into a sub-directory. Some people find the idea of committing binary artifacts a bit weird but I think there are actually advantages to this. If you go down this route check out the 'release' worker which you can use to do set up things etc. |
I don't judge :) |
Needs to be done now that it's stabilised.
The text was updated successfully, but these errors were encountered: