DON'T USE! WORK IN PROGRESS
A tool to help create, manage and share smaller dat collections derived from a large centralised repository of files.
# WIP // npm install -g something
Note: This is a WIP.
Create simple config file.
Create a new dat from database information about the collection
Update dat to match state of collection within the database
Share dat collections
Configure by creating a local .a-dat.config.json
file:
{
"database": {
"url": "mongodb://url-for-db",
"name": "database"
},
// root location of files
"rootDir": "/var/www/html/assets/",
// Directory for storing dat collections and related dat.
"storage": "/user/your-user/home/dats"
}
CLI recursively checks parent folders, and lastly the users home directory for config.