Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleExample Mount Commands

Example mount command: linux (dom=YOURWINDOMAIN may not be needed):

 

mount -t cifs //server_ip_address/Patricia -o user=username,pass=mypass,dom=YOURWINDOMAIN /mnt/Patricia

Example mount command: MS Windows

 

net use p: \\server_ip_address\\patricia

 

 

Step 2: Download & Configure Import Script

Download pi-nuxeo-importer.zip from here: pi-nuxeo-importer.zip

After the pi-nuxeo-importer.zip is downloaded, unzip it to a folder, e.g: $HOME/pi-nuxeo-importer/

Edit config.py file, and change parameters according to the Nuxeo server information.

 

Step 3: Create Nuxeo Folders

The first step is to create top level Nuxeo folders, for example:

  • /default-domain/workspaces/Patricia/Documents/0
  • /default-domain/workspaces/Patricia/Documents/2
  • /default-domain/workspaces/Patricia/Documents/4

by simply using a script:

 

Code Block
languagebash
cd ~/pi-nuxeo-importer

python create_folders.py

Step 4: Generate Import URLs

In this step, we run a script to generate import URLs in a text file.

 

Code Block
languagebash
cd ~/pi-nuxeo-importer

python generate_urls.py

Step 5: Import the Documents

In this step, we run a script to import documents by using the URLs text file generated in previous step.

 

Code Block
languagebash
cd ~/pi-nuxeo-importer

python import_urls.py

Step 6: Monitor the Logs


You can access the logs via the following command. You can also just use a web browser to accessing: http://127.0.0.1:8080/nuxeo/site/fileImporter/log.

 

Code Block
languagebash
cd ~/pi-nuxeo-importer

python log_monitor.py

You will know that the import is finished when the content of the log remains static, and ends with an import summary referencing 'SimonWatch' toolset, on the console.

Step 7: Run the post import finalizer

After the import is finished, the import finalization operation should be started (or, it will be run automatically at midnight).