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

Hosting for SchemaSpy (currently hosted on phoenix.dataverse.org) #7031

Open
pdurbin opened this issue Jun 26, 2020 · 10 comments
Open

Hosting for SchemaSpy (currently hosted on phoenix.dataverse.org) #7031

pdurbin opened this issue Jun 26, 2020 · 10 comments

Comments

@pdurbin
Copy link
Member

pdurbin commented Jun 26, 2020

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

Screen Shot 2020-06-26 at 4 11 37 PM

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

@donsizemore
Copy link
Contributor

@pdurbin Permanent web-hosting would be great, but this strikes me as an excellent workflow to Dockerize.

@pdurbin
Copy link
Member Author

pdurbin commented Dec 15, 2020

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.

@BPeuch
Copy link
Contributor

BPeuch commented Dec 15, 2020

That's good to know, @pdurbin. Thanks for tagging me. We hope an alternative representation system can be found.

@donsizemore
Copy link
Contributor

@pdurbin if it just needs to live somewhere, how about off the root of guides.dataverse.org?

@donsizemore
Copy link
Contributor

@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/

@djbrooke
Copy link
Contributor

djbrooke commented Apr 7, 2021

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!

@pdurbin
Copy link
Member Author

pdurbin commented Apr 7, 2021

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!

@BPeuch
Copy link
Contributor

BPeuch commented Apr 16, 2021

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. 🔧

pdurbin added a commit that referenced this issue May 28, 2021
Also remove reference to phoenix server, which has been decommissioned.
We'll finished cleaning up phoenix-related docs in #7031.
@pdurbin pdurbin added this to Watching in pdurbin Oct 1, 2022
@pdurbin
Copy link
Member Author

pdurbin commented Nov 13, 2023

@poikilotherm
Copy link
Contributor

poikilotherm commented Nov 14, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
pdurbin
Watching
Development

No branches or pull requests

5 participants