Get started
Download d4m
Single static binary. No dependencies. Drop it in and run. Pre-built binaries are coming soon โ in the meantime, build from source.
Pre-built binaries
๐ฆ
Download for your platform
Coming soon
macOS
ARM64
macOS
x86_64
Linux
ARM64
Linux
x86_64
Binary downloads โ coming soon
Build from source
Requirements
Rust toolchain (latest stable). SQLite development headers are bundled via rusqlite.
git clone https://github.com/anomalyco/d4m.gitcd d4mcargo build --release./target/release/d4m --no-auth --port 27017
Quick start
Once running, connect with any MongoDB tool:
mongosh mongodb://localhost:27017mongodump --uri="mongodb://localhost:27017"mongorestore --uri="mongodb://localhost:27017" ./dump
Production deployment
Enable authentication with environment variables:
D4M_ADMIN_PASSWORD=secret cargo run --release -- --port 27017 --db-dir /var/d4m/data- Default user:
admin/password - Customize via
D4M_ADMIN_USERNAME,D4M_ADMIN_PASSWORD,D4M_ADMIN_ROLE