Configuration
sync-config configuration
project_name : <String>
project_name : <String>
This config for project identity
Example :
username : <String>
username : <String>
The username for ssh connect to the server
Example :
privateKey : <String>
privateKey : <String>
Place your private key as an absolute path.
Example :
host : <String>
host : <String>
Fill your host target
Example :
port : <String>
port : <String>
Fill the ssh port host target
Example :
localPath : <String>
localPath : <String>
Place your local project directory
Example :
remotePath : <String>
remotePath : <String>
Place your remote project directory
Example :
ignores : <ArrayString>
ignores : <ArrayString>
Select which file or folder you need to ignore to sync.
Example :
Note : You can define it on .sync_ignore file too
downloads : <ArrayString>
downloads : <ArrayString>
Select which file or folder you need exclusively can be downloaded. This feature is used for two way sync for specific file or folder.
Example :
single_sync : <ArrayString>
single_sync : <ArrayString>
Select which file or folder you need exclusively can be downloaded and uploaded manually. This feature is used for simple rsync for specific files or folders.
Example :
trigger_permission : <ArrayObject>
trigger_permission : <ArrayObject>
This feature is used for managing CUD (Create, Update, Delete) action sync to the server which is allowed or not.
Example :
direct_access : <ArrayObject>
direct_access : <ArrayObject>
This external command that you can use for everyday use when you work. This includes the ssh_config format too that you can use to create ssh connections with proxy.
Example :
size_limit : <Number>
size_limit : <Number>
You can limit size sync file upload to the server if more than size_limit is blocked.
Example :
reset_cache: <Boolean>
reset_cache: <Boolean>
Every run ngi-sync devsync the file will store in cache if it gets changed. For comparing the cache file with the new file change similar or not. If similar, the file avoids uploading. You can set false if will not reset cache every run ngi-sync devsync, default is true.
Example :
Last updated