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

where is dataset saved #748

Open
iomari opened this issue Mar 20, 2022 · 2 comments
Open

where is dataset saved #748

iomari opened this issue Mar 20, 2022 · 2 comments
Labels

Comments

@iomari
Copy link

iomari commented Mar 20, 2022

Greetings,
I'm running the docker version. Installation was a breeze an d generating data worked flawlessly.
I save my dataset structure but I have no idea where it is saved to.
Which folder does the app store it's saved dataset structure?

@benkeen
Copy link
Owner

benkeen commented Mar 20, 2022

That's great news, thanks @iomari! Apologies - I still haven't fully finished the userdoc yet but I'm glad it was enough for you to get it running.

All data is actually stored in a MariaDB (basically MySQL) found in your data/db folder. In there, there's a generatedata subfolder that contains your actual database. But those files are custom formatted for MySQL to read so won't be awfully useful as they are.

To read that data you could either rig up a local MySQL/MariaDB client and tell it to read that info or you could connect to the database running in the docker container and run queries on the DB. Again, sorry this isn't documented yet, but you'd run something like this. This connects to the docker container named db and examines the DB. You can run whatever queries you want: the database table housing the datasets is called datasets.

docker exec -it db bash
mysql -u gduser -p generatedata
gdpassword

// run queries here
show tables;
describe datasets;

@iomari
Copy link
Author

iomari commented Mar 24, 2022

Thanks for your reply.
My next issue is how do I install a local version without docker?4.0.14 version I downloaded the 4.0.14 version from github but I don't see anyway to install it into my existing web server. The instructions on "https://benkeen.github.io/generatedata3/install.html" seem to refer to a different installation than what's possible with the download. My download has no web files to run from a brower. No index.html file or for that matter, not html files at all. So I can I install it locally without having to use docker?

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

No branches or pull requests

2 participants