You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 17, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+23-2Lines changed: 23 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Synchronise a local directory with AWS CloudFront / S3, maintaining correct headers, etc.
4
4
5
-
**This project is not yet functional.**
5
+
Functionality is sufficient to replace s3cmd with better MIME detection.
6
6
7
7
## Goals
8
8
@@ -96,7 +96,28 @@ _(Coming soon)_
96
96
_(Coming soon)_
97
97
98
98
## Examples
99
-
_(Coming soon)_
99
+
100
+
### Example .cdn-sync.json
101
+
102
+
```
103
+
{
104
+
"targets": [
105
+
{
106
+
"type": "aws",
107
+
"options": {
108
+
"accessKeyId": "...",
109
+
"secretAccessKey": "...",
110
+
"region": "...",
111
+
"sslEnabled": true,
112
+
"Bucket": "..."
113
+
},
114
+
"strategy": ["clone"]
115
+
}
116
+
]
117
+
}
118
+
```
119
+
120
+
Note: for targets[index].options, use the options you would pass to the [AWS.S3 constructor](http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3_20060301.html#constructor-property).
100
121
101
122
## Contributing
102
123
Formal styleguide for this project is JSLint. See JSLint settings at the top of
0 commit comments