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

Update readme to include simple example #8

Open
jungle-boogie opened this issue May 10, 2021 · 0 comments
Open

Update readme to include simple example #8

jungle-boogie opened this issue May 10, 2021 · 0 comments

Comments

@jungle-boogie
Copy link

Hello,

I stumbled my way through committing my database to dbhub.io using dio, but it was rather clumsy and resulted in me deleting and uploading the database several times.

I'd be happy to update the readme with instructions on how to use dio in a straight forward manner, but I still have some doubts about my ability to use it. Some of that may be my lack of using git.

I do first
dio push /path/to/db --licence XXX --message "new database"
or
dio commit /path/to/db --licence XX --message "new database"

Then what? I think I need to commit, then push for each commit I do, which I think is a git thing. I can push and commit in one action, right?

Then there is a select option so you don't have to give the path to the database each time. This seems to create a .dio directory where ever you issue the command. However, I think if I issue the push/commit and/or select commands, this creates a .dio directory in the current directory.
What do I do if I want to move my database outside of the current directory?

In my case, the .dio and database file are in ~/www. I'd like to make a new directory at ~/databases and have the .dio directory exist there, along with my recent database. Is it possible to move these two out and into a new directory?

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

No branches or pull requests

1 participant