[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ssh-deploy a627c90 057/173: Updated readme, spelling an
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ssh-deploy a627c90 057/173: Updated readme, spelling and grammar fixes |
Date: |
Sat, 20 Oct 2018 10:36:30 -0400 (EDT) |
branch: externals/ssh-deploy
commit a627c901a79b1c125f45fff91099d90b27c21fe9
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>
Updated readme, spelling and grammar fixes
---
README.md | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/README.md b/README.md
index cb3be24..c3ee7df 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-# `emacs-ssh-deploy`
+# `emacs-ssh-deploy`
[![MELPA](http://melpa.org/packages/ssh-deploy-badge.svg)](http://melpa.org/#/ssh-deploy)
-The `ssh-deploy` plug-in makes it possible to effortlessly deploy local files
and directories to remote hosts via SSH and FTP. It also makes it possible to
define remote paths per directory and whether or not you want to deploy on
explicit save actions or not and whether you want tranfers to be asynchrous or
not. For asynchrous transfers you need a setup which doesn't require a
interactive authorization. The plugin also enables manual upload and download
of files and directories. It also [...]
+The `ssh-deploy` plug-in for Emacs makes it possible to effortlessly deploy
local files and directories to remote hosts via SSH and FTP. It also makes it
possible to define remote paths per directory and whether or not you want to
deploy on explicit save actions or not and whether you want transfers to be
asynchronous or not. For asynchrous transfers you need a setup which doesn't
require a interactive authorization. The plug-in also enables manual upload and
download of files and direct [...]
`ssh-deploy` works with `DirectoryVariables` so you can have different deploy
setups in different ways for different folders.
@@ -11,9 +11,9 @@ This application is made by Christian Johansson
<address@hidden> 2016 and is l
## A setup example
-* Download ssh-deploy and place it at `~/.emacs.d/ssh-deploy/` or install via
`package.el` from the `MELPA` repository.
+* Download ssh-deploy and place it at `~/.emacs.d/ssh-deploy/` or install via
`package.el` (`M-x list-packages`) from the `MELPA` repository.
-* Create this `DirectoryVariables` file in your project root at
`/Users/username/Web/MySite/.dir-locals.el`.
+* So if you want to deploy `/Users/username/Web/MySite/` to create this
`DirectoryVariables` file in your project root at
`/Users/username/Web/MySite/.dir-locals.el`.
``` emacs-lisp
((nil . (
@@ -38,13 +38,13 @@ Or for FTP use this:
For automatic FTP connections you need to setup `~/.netrc` with your login
credentials. An example:
-~/.netrc contents:
+`~/.netrc` contents:
``` shell
machine myserver.com login myuser port ftp password mypassword`
```
-Set your user and group as owner and file permissions to 700. Emacs should now
be able to automatically connect to server without any user interaction.
+Set your user and group as owner and file permissions to 700. Emacs should now
be able to automatically connect to this server via FTP without any user
interaction.
* And add this to your *emacs-init-script*:
@@ -60,6 +60,7 @@ Set your user and group as owner and file permissions to 700.
Emacs should now b
(global-set-key (kbd "C-c C-z d") (lambda()
(interactive)(ssh-deploy-download-handler) ))
(global-set-key (kbd "C-c C-z x") (lambda()
(interactive)(ssh-deploy-diff-handler) ))
(global-set-key (kbd "C-c C-z t") (lambda()
(interactive)(ssh-deploy-remote-terminal-handler) ))
+ (global-set-key (kbd "C-c C-z r") (lambda()
(interactive)(ssh-deploy-remote-changes-handler) ))
(global-set-key (kbd "C-c C-z b") (lambda()
(interactive)(ssh-deploy-browse-remote-handler) )))
```
@@ -71,21 +72,21 @@ You can remove the `add-to-list` line if you installed via
`MELPA` repository.
* If you press `C-c C-z d` you will download the current file or directory
from remote host and then reload current buffer.
* If you press `C-c C-z t` you will open a terminal with remote host via
`tramp-term`.
* If you press `C-c C-z b` you will browse current directory on remote host in
`dired-mode`.
+* If you press `C-c C-z r` you will check for remote changes to the current
file.
The local path and local root is evaluated based on their **truename** so if
you use different symbolic local paths it shouldn't affect the deployment
procedure.
-The above configuration uses the plugin `use-package` which I highly recommend.
+The above configuration example uses the Emacs plug-in `use-package` which I
highly recommend.
## More complex SSH connections
-If you have a SSH connection that is using a different identity-file than the
default, or if it is using a different port than the default you just need to
edit your local SSH-config (`~/ssh/config`) to make it work using this plugin,
like this:
+If you have a SSH connection that is using a different identity-file than the
default, or if it is using a different port than the default you just need to
edit your local SSH-config `~/ssh/config` to make it work using this plugin,
like this:
``` bash
-## My special connection (replace remote-host, port and identity-file with
your values)
+## My special connection (replace remote-host, remote-port and identity-file
with your values)
Host remote-host
- Port port
+ Port remote-port
IdentityFile identity-file
-
```
## Read more
- [elpa] externals/ssh-deploy d40d817 027/173: Now displaying asynchrous process output., (continued)
- [elpa] externals/ssh-deploy d40d817 027/173: Now displaying asynchrous process output., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy be5451c 019/173: Updated to comments and README, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 78d0641 031/173: Updated version and modification date., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy e94c9e7 035/173: Updated title of README.md, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 959aa79 036/173: Fixed a log message., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy f0eb826 030/173: Fixed a bug in protocol definition and started with support for multiple protocols., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 4e70a41 041/173: Now uses TRAMP via async.el for SSH transfers, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 8253251 044/173: Improved README a bit, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 94fc9e6 051/173: Updated readme, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 56da852 066/173: Fixed bug where plug-in reported external changes even though remote, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy a627c90 057/173: Updated readme, spelling and grammar fixes,
Stefan Monnier <=
- [elpa] externals/ssh-deploy 0e32ab3 056/173: Added support for detection of external changes in FTP and improved async signals, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 109dbb1 034/173: FTP support and refactoring completed, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 14e7700 043/173: Now uses asynchrous tranfers progressively, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 97d803d 004/173: Updated comments and changed license in preparation for MELPA submission., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy de8eadd 067/173: Remote path is not shell escaped on upload and download because it, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 6d1c10c 069/173: Improved documentation, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy ec46610 075/173: Fixed a typo and improved documentation, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy c8b322a 074/173: Fixed markdown syntax, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 5e86b22 072/173: Bug fix for automatically creating missing remote directories on upload, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 4fbe568 084/173: Updated hydra example to prevent lazy loading of package, Stefan Monnier, 2018/10/20