An open API service indexing awesome lists of open source software.

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

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.