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

https://github.com/swagdevops/alluvion


https://github.com/swagdevops/alluvion

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

# Alluvion

```
Commands:
alluvion help [COMMAND] # Describe available commands or one specific command
alluvion synchro:done # Execute synchro (done)
alluvion synchro:todo # Execute synchro (todo)
```

## Requirements

Alluvion uses ``rsync`` (as default) to synchronize files.

## Config

### Minimal configuration

```yaml
url: 'ssh://user@example.org:22'
paths:
local:
done: '/var/alluvion/done'
todo: '/var/alluvion/todo'
remote:
done: '/var/alluvion/done'
todo: '/var/alluvion/todo'
```

### Environment

Config supports environment variables, using ERB-like syntax:

```yaml
url: 'ssh://<%= @SYNCHRO_USER%>@<%= @SYNCHRO_HOST%>:22'
timeout: <%= ENV['SYNCHRO_TIMEOUT']&.to_i || 5 %>
paths:
local:
done: '<%= @SYNCHRO_VOLUME %>/done'
todo: '<%= @SYNCHRO_VOLUME %>/todo'
remote:
done: '<%= @SYNCHRO_REMOTE_PATH %>/done'
todo: '<%= @SYNCHRO_REMOTE_PATH %>/done'
```