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

Write a custom rake task to generate a dot or Mermaid ERD file #142

Open
postmodern opened this issue Feb 9, 2025 · 0 comments
Open

Write a custom rake task to generate a dot or Mermaid ERD file #142

postmodern opened this issue Feb 9, 2025 · 0 comments
Labels
chore You gotta do, what you gotta do documentation Improvements or additions to documentation

Comments

@postmodern
Copy link
Member

postmodern commented Feb 9, 2025

Related to issue #18, we could write a custom rake task that loads the Ronin::DB models and outputs a dot or Mermaid ERD file, which can then be used to generate output SVG or HTML. See this example code.

This code will likely get very complex, and should probably be stored in a separate file in tasks/ then loaded into Rakefile using require_relative.

@postmodern postmodern added chore You gotta do, what you gotta do documentation Improvements or additions to documentation labels Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore You gotta do, what you gotta do documentation Improvements or additions to documentation
Projects
Status: No status
Development

No branches or pull requests

1 participant