0.0.2 • Published 11 years ago
cdnsync v0.0.2
cdnsync
Synchronize the files on CDN with FTP.
Install
Local
git clone git@github.com:SFantasy/cdnsync.git
cd cdnsync
[sudo] npm install . [-g]NPM
[sudo] npm install cdnsync [-g]Usage
- Write your own config file.
mv config.example.json config.jsonyou have to change these items (if necessary):
// Local directory prefix
"local-prefix": "/branch/site/",
// Remote directory prefix
"remote-prefix": "/site/",
"ftp-config": {
// The IP address or hostname of your FTP server
"host": "localhost",
// Username of your FTP account
"user": "test",
// Password of your FTP account
"password": "abcdefg"
}- Synchronize all the files according to your configuration
cdnsyncLicense
The MIT License
0.0.2
11 years ago