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
Hosting for SchemaSpy (currently hosted on phoenix.dataverse.org) #7031
Comments
@pdurbin Permanent web-hosting would be great, but this strikes me as an excellent workflow to Dockerize. |
People seem to like the SchemaSpy diagrams. @BPeuch just said, "Wow, that ER diagram of Dataverse's database rocks, Philip! Thanks for posting it." One thing I didn't mention when I opened this issue is that builds are no longer happening on the phoenix server so the diagrams hosted there are increasing out of date as the database evolves. |
That's good to know, @pdurbin. Thanks for tagging me. We hope an alternative representation system can be found. |
@pdurbin if it just needs to live somewhere, how about off the root of guides.dataverse.org? |
@BPeuch I generated this today from a Dataverse 5.4 DB, if you'd like to take a look: https://guides.dataverse.org/en/5.4/schemaspy/ |
Thanks @donsizemore, this is great. I talked with @pdurbin about this a little while ago and he confirmed to me it was most important to have it for a specific version - I was thinking that it needed to be provided on demand for any branches in progress but he said this isn't usually the case. I think if it could be included on the guides server I think it'd be great, thanks for adding it for 5.4! |
Yeah, @donsizemore and I were discussing this yesterday and I've very happy that once again there is a publicly accessible version of the schemaspy output (I had built my own local version for now). Thanks, Don! |
Oh this is very practical! Thanks a lot @donsizemore! I like the network (ER) model, but this is also very handy, especially the neat presentation of columns with the sorting out of IDs and other such categories. 🔧 |
Also remove reference to phoenix server, which has been decommissioned. We'll finished cleaning up phoenix-related docs in #7031.
@donsizemore published a version for 5.14: https://guides.dataverse.org/en/5.14/schemaspy/ Thank you, Don! See also https://groups.google.com/g/dataverse-community/c/f95DQU-wlVM/m/9HcRbaSVBQAJ |
This reminds me of https://blog.esciencecenter.nl/versioned-documentation-using-only-github-actions-and-github-pages-1825296e31aa and how we could add such a thing to not just host our guides on Pages, but also include OpenAPI docs, SchemaSpy, JSON Schemas etc etc etc. |
Long ago I configured http://phoenix.dataverse.org/schemaspy/latest/index.html to host schema information about the Dataverse database. I often link to this site when helping people understand something about the database. I also wrote it up in the dev guide at http://guides.dataverse.org/en/4.20/developers/tips.html#schemaspy
The phoenix server is being shut down at some point so we need to find alternative hosting for these docs.
As indicated in the screenshot above, the script to build the SchemaSpy docs can be found at https://github.com/IQSS/dataverse/blob/v4.20/scripts/deploy/phoenix.dataverse.org/post#L15 . It's a oneliner:
java -jar downloads/schemaSpy_5.0.0.jar -t pgsql -host localhost -db dvndb -u postgres -p secret -s public -dp scripts/installer/pgdriver/postgresql-42.2.9.jar -o /var/www/html/schemaspy/latest
The text was updated successfully, but these errors were encountered: