From c6830499f74110e3a3830c8ccab36ec0237c9d0e Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sun, 28 Jan 2018 11:48:29 +0000 Subject: [PATCH] Fixed Travis --- .travis.yml | 4 ++-- README.md | 6 +++--- docs/index.html | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 96df8d0be..54ae6c7b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ -# Only build tags -if: tag IS present +# Only build tags (Doesn't work - doesn't build anything) +# if: tag IS present rvm: 2.3.3 diff --git a/README.md b/README.md index 07f272172..a995a8571 100644 --- a/README.md +++ b/README.md @@ -95,10 +95,10 @@ On the **desktop application** or **mobile application**, go to the config scree On the **terminal application**, you will need to set the `sync.target` config variable and all the `sync.5.path`, `sync.5.username` and `sync.5.password` config variables to, respectively the Nextcloud WebDAV URL, your username and your password. This can be done from the command line mode using: + :config sync.5.path https://example.com/nextcloud/remote.php/dav/files/USERNAME/Joplin + :config sync.5.username YOUR_USERNAME + :config sync.5.password YOUR_PASSWORD :config sync.target 5 - :config sync.5.path https://example.com/nextcloud/remote.php/dav/files/USERNAME/Joplin - :config sync.5.username YOUR_USERNAME - :config sync.5.password YOUR_PASSWORD If synchronisation does not work, please consult the logs in the app profile directory - it is often due to a misconfigured URL or password. The log should indicate what the exact issue is. diff --git a/docs/index.html b/docs/index.html index f349109d5..fa812552e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -299,10 +299,10 @@ sudo ln -s ~/.joplin-bin/bin/joplin /usr/bin/joplin

Nextcloud synchronisation

On the desktop application or mobile application, go to the config screen and select Nextcloud as the synchronisation target. Then input the WebDAV URL, this is normally https://example.com/nextcloud/remote.php/dav/files/USERNAME/Joplin (make sure to create the "Joplin" directory in Nextcloud and to replace USERNAME by your Nextcloud username), and set the username and password.

On the terminal application, you will need to set the sync.target config variable and all the sync.5.path, sync.5.username and sync.5.password config variables to, respectively the Nextcloud WebDAV URL, your username and your password. This can be done from the command line mode using:

-
:config sync.target 5
-:config sync.5.path https://example.com/nextcloud/remote.php/dav/files/USERNAME/Joplin
+
:config sync.5.path https://example.com/nextcloud/remote.php/dav/files/USERNAME/Joplin
 :config sync.5.username YOUR_USERNAME
 :config sync.5.password YOUR_PASSWORD
+:config sync.target 5
 

If synchronisation does not work, please consult the logs in the app profile directory - it is often due to a misconfigured URL or password. The log should indicate what the exact issue is.

OneDrive synchronisation

When syncing with OneDrive, Joplin creates a sub-directory in OneDrive, in /Apps/Joplin and read/write the notes and notebooks from it. The application does not have access to anything outside this directory.