Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wanna give these instructions a go and see how they work for you? https://github.com/TBD54566975/ftl/blob/main/CONTRIBUTING.md
If they work well, maybe we can update the README.md at the root to point there instead of having 2 different approaches :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even those are a bit out of date now that I look at it. Here's a quick set of commands to hopefully get you started and we can use them to update the README(s) as needed. I'm also happy to update these if you'd like as well...
Create a new project to work with ftl
These assume you have the shell hooks for hermit setup. If not, you'll need to
. ./bin/activate-hermit
in your project folderThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, that works for me. 👍
I like the idea of having some sort of instructions in the README to set things up from scratch.
I do think we should reference the development prerequisites for setting up the hermit environment (and maybe splitting this out from the
ftl dev ./examples/go
)The way I see this is, you have your development guide which is focused on people developing on ftl. And then you have the README which can be used for people like me (users) to start a project from scratch without searching through the docs.
I think something like this would work well...
^ Those are just thoughts, let me sit on it a bit and update the PR of what makes sense in my mind.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is what the README does currently do (
ftl
is installed viabrew tap
rather thanhermit
) - it's just that it's bitrotted. I'm working on an adjacent PR that will fix this going forward, I'll tag you on it.(thanks for trying this out BTW, having newcomers try things out is beneficial)