Update readme to include simple example #8
Description
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?