[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ssh-deploy 3569e5e 058/173: More grammatical fixes for
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ssh-deploy 3569e5e 058/173: More grammatical fixes for README.md |
Date: |
Sat, 20 Oct 2018 10:36:30 -0400 (EDT) |
branch: externals/ssh-deploy
commit 3569e5ea6892d6d7f4ef36bf41462af011e1a114
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>
More grammatical fixes for README.md
---
README.md | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/README.md b/README.md
index c3ee7df..f20d2ee 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# `emacs-ssh-deploy`
[![MELPA](http://melpa.org/packages/ssh-deploy-badge.svg)](http://melpa.org/#/ssh-deploy)
-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 [...]
+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 asynchronous transfers you need a setup which doesn't
require a interactive authorization. The plug-in also enables manual upload and
download of files and dire [...]
`ssh-deploy` works with `DirectoryVariables` so you can have different deploy
setups in different ways for different folders.
@@ -12,7 +12,6 @@ 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` (`M-x list-packages`) from the `MELPA` repository.
-
* 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
@@ -22,9 +21,7 @@ This application is made by Christian Johansson
<address@hidden> 2016 and is l
(ssh-deploy-on-explicit-save . t)
)))
```
-
-For automatic SSH connections you need to setup password-less public-key
authorization or equivalent.
-
+For automatic **SSH** connections you need to setup a password-less public-key
authorization.
Or for FTP use this:
``` emacs-lisp
@@ -33,19 +30,14 @@ Or for FTP use this:
(ssh-deploy-root-remote . "/ftp:address@hidden:/MySite/")
(ssh-deploy-on-explicit-save . t)
)))
-
```
-
-For automatic FTP connections you need to setup `~/.netrc` with your login
credentials. An example:
-
+For automatic **FTP** connections you need to setup `~/.netrc` with your login
credentials. An example:
`~/.netrc` contents:
``` shell
-machine myserver.com login myuser port ftp password mypassword`
+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 this server via FTP 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*:
@@ -66,6 +58,8 @@ Set your user and group as owner and file permissions to 700.
Emacs should now b
You can remove the `add-to-list` line if you installed via `MELPA` repository.
+* Restart Emacs
+
* Now when you save a file somewhere under the directory
`/Users/username/Web/MySite/`, the script will launch and deploy the file with
the remote server.
* If you press `C-c C-z x` and the current buffer is a file, you will launch a
`ediff` session showing differences between local file and remote file via
`tramp`, or if current buffer is a directory it will show differences with
remote directory using `ztree-diff` via `tramp`.
* If you press `C-c C-z u` you will upload local file or directory to remote
host.
- [elpa] externals/ssh-deploy de8eadd 067/173: Remote path is not shell escaped on upload and download because it, (continued)
- [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
- [elpa] externals/ssh-deploy 4c35ab7 055/173: Fixed syntax bug in MELPA description, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy d324b9f 046/173: Cleaned up code structure and isolated functions, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 404aa7e 042/173: Transfers now use TRAMP asynchrously, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy c04badf 048/173: Moved autoloading functions last, changed parameters for copy functions, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 3569e5e 058/173: More grammatical fixes for README.md,
Stefan Monnier <=
- [elpa] externals/ssh-deploy 4005d0e 001/173: My initial commit, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 1c1e379 063/173: More improvement on README for force uploads, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 1f0bdf6 071/173: Create directories on remote When uploading files in a folder that, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy b1f9e5b 050/173: Now detects remote changes, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy bf86728 068/173: Added deploy command, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy dbd8608 076/173: Improved documentation, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 2eab0ee 091/173: Fixed bug for eshell in base directory, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy c02b0c9 094/173: Removed debug code from directory-diff function, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 68804ee 097/173: Updated use-package README example, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy d2c204f 101/173: Fixed syntax error in example configuration, Stefan Monnier, 2018/10/20