Closed nelsonic closed 1 week ago
Okay 👌 .
Though I'd like some clarification from their side on the licensing and how it would effect this -> https://github.com/wise-coders/dbschema/issues/132#issuecomment-2342386293.
For sure the licensing is an open question. ❓ 🙄
But given that work
🏦 has the license and will gladly pay more if requested, 💰
I'm not concerned that it will get resolved. 👌
Thanks for making progress on this. 🙏
I think I need to know the license type we do have to continue making progress on this. HTML5 documentation generation is locked under the Pro edition -> https://dbschema.com/editions.html.
@LuchoTurtle please assume that money is no object and we have the most premium deluxe gold-plated diamond-encrusted VIP tier of license. 🔑 And crack on. 🙏
The thing is normally, the sample script generates an HTML5 documentation from a DbSchema project file.
The problem is that saving a project file is a Pro feature.
I'm trying to circumvent the problem by creating the project within the Groovy script. But the documentation is really barebones and I can only go for some sample scripts found in https://dbschema.com/documentation/automation-api.html to go by.
Another thing that is bugging me is that I need to find a way to force the Docker to exit the command as an error (1
) if the groovy script fails. As it stands, it doesn't. Even if it fails, the step is ran successfully (check https://github.com/dwyl/dbschema-demo/actions/runs/10840480256). got it fixed.
... 🫤
@LuchoTurtle as discussed on our call; 📞 We need to isolate the setup of
DbSchema
usingGitHub Actions
:octocat: So that we can confirm that it's working in a tiny repo before using it for work-work. 🏦Todo 📝
schema.sql
file that has theSQL
to create the schemaschema.sql
script to create the Postgres DB with schemalocalhost
andGitHub Actions
Postgres
DB is created either by inserting & querying data or other means of your choice. 💭.then
... 🤞GitHub Actions
script that runsDbSchema
headless to create aindex.html
file containing the schemaBonus Level 👾
GitHub Pages
where people can view theindex.html
file onlineOnce this is all done - hopefully doesn't take more than a couple of hours given all the work you've already done - we can use it for work-work and hopefully deploy a single page with the schema in our docs. 🤞