Desktop Synchronization Client for Nuxeo
This is an ongoing development project for desktop synchronization of local folders with remote Nuxeo workspaces.
See the Nuxeo Drive docs for complete up-to-date documentation.
Note: this documentation follows the Nuxeo Drive version of the master
branch, which evolves quickly.
To see the documentation of a given Nuxeo Drive release, use this kind of link:
# For Drive 2.1.113 go to:
https://github.com/nuxeo/nuxeo-drive/tree/release-2.1.113
Installing Nuxeo Drive requires two components:
- the
nuxeo-drive
server addon for the Nuxeo Platform; - and a desktop client on the user's computer.
The desktop client can be downloaded from the Home > Nuxeo Drive tab or from the update website.
The latest official release can always be found at those static URLs:
-
Launch the Nuxeo Drive program (e.g. from the Start menu under Windows).
A new icon should open in the system tray and a popup menu should open asking the user for the URL of the Nuxeo server and credentials.
-
In the Nuxeo web interface, mark workspaces and folders for synchronization.
-
You can now go to the local Nuxeo Drive folder by using the menu of the system tray icon.
The desktop synchronization client can also be operated from the command-line:
-
Make sure that the
ndrive
program is installed in a folder that has been added to thePATH
environment variable of your OS.- If you installed the .dmg package for macOS, the binary is:
/Applications/Nuxeo\ Drive.app/Contents/MacOS/ndrive
- You can alias it in your
~/.bashrc
with:
alias ndrive="/Applications/Nuxeo\ Drive.app/Contents/MacOS/ndrive"
-
Launch Nuxeo Drive:
ndrive
Under Windows you can launch
ndrive.exe
instead to avoid keeping the cmd console open while Nuxeo Drive is running instead. -
The first time you run this command a dialog window will open asking for the URL of the Nuxeo server and your user credentials.
Alternatively you can bind to a Nuxeo server with your user credentials using the following commandline arguments:
ndrive bind-server nuxeo-username https://server:port/nuxeo [--password="secret"] [--local-folder="~/Nuxeo Drive"]
This will create a new folder called Nuxeo Drive in your home folder on GNU/Linux & macOS and under the Documents folder on Windows.
-
Go to your Nuxeo with your browser, navigate to workspaces or folder where you have permission to create new documents.
-
Click on the Nuxeo Drive icon right of the title of the folder to treat this folder as a new synchronization root.
Alternatively you can do this operation from the commandline with:
ndrive bind-root "/default-domain/workspaces/My Workspace"
You can now create office documents and folders locally or inside Nuxeo and watch them getting synchronized both ways automatically.
Translations are managed with Crowdin.
The reference file i18n.json contains the labels and the English values.
Translations for other languages are managed in the nuxeo-drive Crowdin project, e.g. French.
The crowdin-action GitHub Action triggers a daily synchronization of:
- The
i18n.json
reference file to Crowdin. This file can be edited and changes must be pushed to the current repository. - The Crowdin translation files to the
i18n
folder, e.g.i18n-fr.json
. These files must never be edited from the source tree.
-
Generate a bug report in the Advanced tab of the Settings panel of the Nuxeo Drive client.
You can also log DEBUG information directly in the console by using the following command-line:
ndrive --log-level-console=DEBUG
-
Create a GitHub issue mentioning the version of the Nuxeo Platform, your operating system name and version (e.g. Windows 7), the steps to reproduce the error and a copy of the logs.
-
For long running sessions, it is better to dump the debug information in a log file. This can be done with the following command:
ndrive --log-level-file=DEBUG
By default the location of the log file is
$HOME/.nuxeo-drive/logs/
.
The source code of Nuxeo Drive is available under the GNU LGPL v2.1 described in LICENSE.txt.
The backlog is handled on JIRA.
See the contributor guide if you wish to actually contribute to the Nuxeo Drive code base.