Document hosting multiple local BlobDirs#281
Draft
Mirochill wants to merge 1 commit into
Draft
Conversation
Reviewer's GuideUpdates the local hosting documentation to clarify that blobtools host expects a parent directory containing one or more BlobDirs, documents the /view/all browsing endpoint, and adds examples (including Docker) for hosting single or multiple local datasets from a shared parent directory. Flow diagram for hosting multiple BlobDirs with blobtools hostflowchart LR
User((User)) -->|runs| BlobtoolsHost
subgraph LocalFilesystem
DatasetsDir[/datasets parent directory/]
BlobDir1[example-1 BlobDir]
BlobDir2[example-2 BlobDir]
DatasetsDir --> BlobDir1
DatasetsDir --> BlobDir2
end
BlobtoolsHost[blobtools host --api-port 8000 --port 8080 /path/to/datasets] --> DatasetsDir
Browser[Web browser] -->|open /view/all| BlobtoolsHost
Browser -->|open /view/all/dataset/example-1| BlobtoolsHost
subgraph DockerContainer
DockerBlobtools[blobtools host /blobtoolkit/datasets]
end
User -->|runs docker run -v $PWD/datasets:/blobtoolkit/datasets| DockerBlobtools
DockerBlobtools --> DatasetsDir
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
blobtools hostserves the parent directory containing one or more BlobDirs/view/allURL used to browse locally hosted datasetsFixes #278
Validation
git diff --check,git diff --cached --check,git show --stat --oneline --check HEADSummary by Sourcery
Document how to host one or multiple local BlobDirs with blobtools host and clarify the expected directory layout and access URLs.
Documentation: