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

Testing tidytree integration into our app #559

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dmfalke
Copy link
Member

@dmfalke dmfalke commented Oct 20, 2023

This PR serves as a POC for how to integrate TidyTree into our application. I think we can evolve this into the delivery of the gene tree feature.

Some notes:

  • The ortho-site webpack config includes some shimming needed for TidyTree to work, including using d3@5, exposing d3 as a global variable in the tidytree module (imports-loader), and shimming an export from the tidytree module (exports-loader).
  • @d-callan's TidyTree fork was installed via yarn. If the fork is updated in the future, it can be updated in this repo by running the following command: yarn up tidytree@github:d-callan/TidyTree.

To test these changes:

  1. Check out this branch (poc-tidytree-integration)
  2. Make sure packages/sites/ortho-site/.env exists and is populated. You can use packages/sites/ortho-site/.env.sample as a starting point.
  3. Run yarn to install all dependencies.
  4. Run yarn nx start @veupathdb/ortho-site to start the local website.
  5. Open https://localhost:8080/a/app/tidytree in a browser.

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.

1 participant