mirror of
https://github.com/KohakuBlueleaf/KohakuHub.git
synced 2026-05-05 20:07:37 -05:00
[PR #14] [CLOSED] Draft: Add local development bootstrap and deterministic demo environment #14
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/KohakuBlueleaf/KohakuHub/pull/14
Author: @narugo1992
Created: 4/19/2026
Status: ❌ Closed
Base:
main← Head:dev/narugo1992📝 Commits (1)
4c6dba6Add local development bootstrap and deterministic demo fixtures📊 Changes
17 files changed (+2896 additions, -8 deletions)
View changed files
➕
.env.dev.example(+51 -0)📝
.gitignore(+6 -0)➕
Makefile(+83 -0)📝
config-example.toml(+2 -1)➕
docs/development/local-dev.md(+251 -0)📝
pyproject.toml(+2 -1)➕
scripts/dev/down_infra.sh(+26 -0)➕
scripts/dev/init_lakefs.py(+152 -0)➕
scripts/dev/reset_local_data.sh(+51 -0)➕
scripts/dev/run_backend.sh(+76 -0)➕
scripts/dev/seed_demo_data.py(+1988 -0)➕
scripts/dev/up_infra.sh(+184 -0)📝
scripts/generate_docker_compose.py(+4 -1)📝
scripts/migrate_config.py(+4 -1)📝
scripts/sync_lakefs_credentials.py(+4 -1)📝
src/kohakuhub/config.py(+9 -1)📝
src/kohakuhub/datasetviewer/parsers.py(+3 -2)📄 Description
Summary
.env.dev.example, Makefile shortcuts, local development docs, and bootstrap scripts for backend startup, infra lifecycle, and LakeFS initializationKOHAKU_HUB_INTERNAL_BASE_URLand Python 3.10tomlifallbacks in config-related scriptsNotes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.