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

How to build from source code? #13

Closed
goodforever opened this issue Apr 17, 2021 · 3 comments
Closed

How to build from source code? #13

goodforever opened this issue Apr 17, 2021 · 3 comments

Comments

@goodforever
Copy link

How to build from source code?

@eandre
Copy link
Member

eandre commented Apr 17, 2021

Hey @goodforever! You can build encore from source using go build ./cli/cmd/encore.

To actually run it you'll need to point it at the location for the encore.dev runtime implementation as well as the Encore GOROOT. You can see the instructions for that here: https://github.com/encoredev/encore/blob/main/DEVELOPING.md

The Encore GOROOT is built from https://github.com/encoredev/go and uses the regular Go build process (run src/make.bash or equivalent).

I'll add some better instructions to DEVELOPING.md to explain this. Thanks!

@sopta
Copy link

sopta commented Apr 22, 2021

Hey @eandre. I just checked both links but none of them work.

@marcuskohlberg
Copy link
Member

marcuskohlberg commented Jun 22, 2021

@sopta Thanks for flagging. There seems to be a sneaky bug in Github where is modifies the link url and adds "/issues/". If you copy the plain text url from Andrés comment and paste, it will work. (Update: Links are now fixed)

@eandre eandre closed this as completed in 63123a4 Jun 22, 2021
eandre added a commit to eandre/encore that referenced this issue Aug 9, 2021
eandre added a commit to eandre/encore that referenced this issue Aug 9, 2021
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

4 participants