Squarespace::Sync
Sync files to and from a Squarespace Developer site over SFTP.
Installation
Add this line to your application's Gemfile:
gem 'squarespace-sync'
And then execute:
$ bundle
Or install it yourself as:
$ gem install squarespace-sync
Usage
Setup the configuration YAML file for your Squarespace Developer account SFTP settings:
$ squarespace setup
Update squarespace.yaml with your account settings, and then you can run either of these commands:
Pull files from Squarespace. Warns if there are conflicts
$ squarespace pull
Push files to Squarespace, overwriting existing
$ squarespace push
Contributing
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request