Client Applications

HOWTO: Manually Initialize or Deploy a Nuxeo Drive Instance

Updated: March 27, 2019 Page Information Edit on GitHub

Usually Nuxeo Drive is initialized when the user completes the Settings panel and successfully logs in. But for auto deployment you might want to use the command line or EXE.

Command Line

You can bind a new engine on Nuxeo Drive by calling the ndrive executable with the following arguments. It is recommended to have your Drive not running while executing this command.

ndrive bind-server [--password PASSWORD] [--local-folder LOCALFOLDER] USERNAME URL

More information about the parameters:

  • USERNAME: The username of the user who will be using Nuxeo Drive. Mandatory.
  • URL: The URL of the Nuxeo server. Mandatory.
  • PASSWORD: The password of the user who will be using Nuxeo Drive. If you don't specify the PASSWORD then it will be asked to the user when Nuxeo Drive is started.
  • LOCALFOLDER: The path to the Nuxeo Drive folder that will be created. Path must include the Nuxeo Drive folder. If LOCALFOLDER is not specified then the default location will be picked.

Installer

On Windows you can automatically call the bind-server command on install if you set up the EXE variables:

  • TARGETURL: The URL of the Nuxeo server. Mandatory.
  • TARGETUSERNAME: The username of the user who will be using Nuxeo Drive. Mandatory.
  • TARGETPASSWORD: The password of the user who will be using Nuxeo Drive. If you don't specify it then it will be asked to the user when Nuxeo Drive is started.
  • TARGETDRIVEFOLDER: The path to the Nuxeo Drive folder that will be created. Path must include the Nuxeo Drive folder.
  • START=auto: Start Nuxeo Drive after the installation.

Examples

Install Nuxeo Drive and configure the Nuxeo server to http://localhost:8080/nuxeo with the username username:

nuxeo-drive.exe /SILENT /TARGETURL="http://localhost:8080/nuxeo" /TARGETUSERNAME="username"

Same as above, but add the associated password:

nuxeo-drive.exe /SILENT /TARGETURL="http://localhost:8080/nuxeo" /TARGETUSERNAME="username" /TARGETPASSWORD="password"

A full installation, useful for large automatic deployments:

nuxeo-drive.exe /VERYSILENT /TARGETDRIVEFOLDER="%USERPROFILE%\Documents\Nuxeo Drive" /TARGETURL="http://localhost:8080/nuxeo" /TARGETUSERNAME="foo"

Even if username is wrong, it will allow the customization of the Nuxeo server on all clients. The users will be asked to enter their username and password upon the first connection.


Other documentation about Nuxeo Drive
   
3 months ago manonlumeau NXDRIVE-1581: Update Nuxeo Drive documentation
3 months ago manonlumeau Final review
4 months ago manonlumeau NXDOC-1871: update Nuxeo sources retrieval
3 years ago RĂ©mi Cattiau 35
3 years ago Manon Lumeau 34
3 years ago Solen Guitter 33
3 years ago Solen Guitter 32
3 years ago Solen Guitter 31
4 years ago Solen Guitter 30
4 years ago Solen Guitter 29
4 years ago Antoine Taillefer 28
4 years ago Antoine Taillefer 27
4 years ago Solen Guitter 26 | link update
4 years ago Solen Guitter 25 | Update related pages, formatting
4 years ago Antoine Taillefer 24
4 years ago Antoine Taillefer 23
4 years ago Antoine Taillefer 22
4 years ago Antoine Taillefer 21
4 years ago Antoine Taillefer 20
4 years ago Antoine Taillefer 19
4 years ago Antoine Taillefer 18
4 years ago Antoine Taillefer 17
4 years ago Antoine Taillefer 16
4 years ago Antoine Taillefer 15
4 years ago Antoine Taillefer 14
4 years ago Antoine Taillefer 13
5 years ago Manon Lumeau 12
5 years ago Antoine Taillefer 11
5 years ago Antoine Taillefer 10
5 years ago Julien Carsique 9
5 years ago Julien Carsique 8
5 years ago Solen Guitter 7
5 years ago Solen Guitter 6
5 years ago Solen Guitter 5 | Added related topics
5 years ago Solen Guitter 4 | Formatting
5 years ago Antoine Taillefer 3
5 years ago Antoine Taillefer 2
5 years ago Antoine Taillefer 1
History: Created by Antoine Taillefer

We'd love to hear your thoughts!

All fields required