Add push command
You have a Small Web web site and you want to update it from your local computer with the minimum of effort.
What it does
push command is used to sync a copy of a web site onto the local computer using conventional defaults for the Small Web.
To update your site that is hosted at
push command, when run from a folder called
~/sites/aral.small-web.org> site push
Which you can also run by specifying the target folder explicitly. e.g.,
~/sites> site push aral.small-web.org
Is equivalent to the following
The conventions that are applied are:
- The name of the folder is the domain of the site.
- The account name on the server is
- The published folder on the server is
- The SSH key is at
site pull (#222 (closed))