Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Update readme to include simple example #8

Open
@jungle-boogie

Description

@jungle-boogie

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions