cmu-db/dbdb.io
cmu-db/dbdb.io has 590 GitHub stars and 49 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-09 04:13 UTC. Last push 2026-10-30.
The On-line Database of Databases
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalDatabase of Databases
Installation
sudo apt-get install build-essential libffi-dev libpq-dev python3-dev postgresql-common-dev libcairo2
uv sync
Running the development server
uv run python manage.py runserver
Deployment
Run deploy/update_dbdb_app.sh on the production machine to fetch new changes, run migrations, and restart the wsgi server.
Test fixtures
Test fixtures live in data/fixtures/. Django loads them by name; the search path is configured in settings.py via FIXTURE_DIRS.
| Fixture | Contents | Source |
|---|---|---|
adminuser.json |
Superuser account for tests | Static |
testuser.json |
Non-superuser account for tests | Static |
core_features.json |
Feature + FeatureOption rows |
Dumped from production (see below) |
core_attributes.json |
Attribute + AttributeOption rows |
Dumped from production (see below) |
core_system.json |
Two synthetic test systems (SQLite, XXX) | Static |
core_savedsearch.json |
One saved search for testing | Static |
Regenerating fixtures from production
Requires Tailscale to be connected so db-web.tail5fc291.ts.net is reachable.
# Features and feature options
uv run python manage.py dumpdata core.feature core.featureoption \
--indent 2 -o data/fixtures/core_features.json
# Attributes and attribute options
uv run python manage.py dumpdata core.attribute core.attributeoption \
--indent 2 -o data/fixtures/core_attributes.json
These commands use the DATABASE_URL in .env, which points to the production database.
Loading fixtures into a local database
uv run python manage.py loaddata adminuser testuser \
core_features core_attributes core_system core_savedsearch
Running the tests
Tests require a local PostgreSQL instance. The test runner creates and destroys a dedicated database (test_dbdb_io) on every run.
PGUSER=<your-local-pg-user> uv run python manage.py test dbdb.core \
--settings=dbdb.test_settings --verbosity=2
The dbdb.test_settings module overrides the production DATABASE_URL with local PostgreSQL connection parameters. It reads the following environment variables (all optional, with defaults shown):
| Variable | Default | Notes |
|---|---|---|
PGUSER |
dbdb_user |
Must have CREATEDB privilege |
PGPASSWORD |
(empty) | Omit if using peer auth (Unix socket) |
PGHOST |
(empty) | Empty = Unix socket (peer auth); localhost = TCP |
PGPORT |
5432 |
|
PGDATABASE |
postgres |
Connection database — must differ from test_dbdb_io |
The test database is always named test_dbdb_io and is dropped and recreated fresh on every run.
Explore related projects
Asabeneh/30-Days-Of-Python
The 30 Days of Python programming challenge is a step-by-step guide to learn the Python programming language in 30 days. This challenge may take more than 100 days. Follow your own pace. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,423 starsgrafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
77,790 starsredis/redis
For developers, who are building real-time data-driven applications, Redis is the preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine.
77,309 starsapache/superset
Apache Superset is a Data Visualization and Data Exploration Platform
75,455 stars