Skip to content

484 update setup instructions#485

Merged
lache-melvin merged 14 commits into
developfrom
484-update-setup-instructions
Jan 8, 2024
Merged

484 update setup instructions#485
lache-melvin merged 14 commits into
developfrom
484-update-setup-instructions

Conversation

@lache-melvin

Copy link
Copy Markdown
Contributor

Fixes #484

Description

Update the readme setup instructions, as well as adding some extra yarn scripts, after we've brought in the Rust backend.

This is a slightly different approach than usual, where we keep the frontend and backend dirs and the running of their scripts separate... it may (?) be worth going back to the usual pattern, but this would require another folder rearrange.

Also puts the dgraph tests behind a feature flag so that the backend tests can run in CI!

@jmbrunskill jmbrunskill left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like everything in one place like this.
Nice touch with the dgraph-tests feature, I was actually thinking about doing something like this today.

Comment thread README.md Outdated
Comment thread backend/dgraph/Cargo.toml
tokio = { version = "1", features = ["full"] }
gql_client = "1.0.7"

[features]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[features]
[features]
default = ["dgraph-tests"]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is basically because I feel like it would be good to run our dgraph tests regularly as devs, so would rather disable them in CI rather than have to enable the every time in our IDE.
Although we can set features on for a VS code workspace so I'm happy if you leave it as is.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nah nice I like this!

Comment thread .github/workflows/CI.yml Outdated
@lache-melvin lache-melvin merged commit 2e6a8d9 into develop Jan 8, 2024
@lache-melvin lache-melvin deleted the 484-update-setup-instructions branch January 8, 2024 04:05
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

Successfully merging this pull request may close these issues.

setup instructions are out of date

2 participants