https://github.com/e-e-e/a-dat
WIP
https://github.com/e-e-e/a-dat
Last synced: 12 months ago
JSON representation
WIP
- Host: GitHub
- URL: https://github.com/e-e-e/a-dat
- Owner: e-e-e
- Created: 2019-11-25T11:56:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T01:39:10.000Z (about 3 years ago)
- Last Synced: 2025-01-11T11:14:09.040Z (about 1 year ago)
- Language: JavaScript
- Size: 854 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# a-dat
**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.
## Installation
```bash
# WIP // npm install -g something
```
### CLI Usage
Note: This is a WIP.
##### `a-dat init`
Create simple config file.
##### `a-dat create `
Create a new dat from database information about the collection
##### `a-dat update `
Update dat to match state of collection within the database
##### `a-dat share `
Share dat collections
### Configuration
Configure by creating a local `.a-dat.config.json` file:
```json
{
"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.