Skip to content

Windows Specific Setup

John Bradley edited this page Jan 19, 2017 · 11 revisions

Follow along the regular setup here: https://github.com/Duke-GCB/DukeDSClient/wiki/Agent-User-Keys-(setup)

Create your config file

One way to create the ~/.ddsclient file is use Notepad.

  • Open Notepad, paste in the data from your clipboard from the above guide.
  • Click File -> Save As.
  • Navigate to your home directory by typing in %HOMEPATH% into the address bar at the top. On Windows 7 it should take you to C:\Users<username>, but this varies with different windows versions.
  • Chose All files for the 'Save as type' dropdown.
  • Then type .ddsclient into the file name. If your version of windows will not accept this name you can try .ddsclient..
  • Click save

Create shortcut to allow unicode support

DukeDS supports unicode names for projects, folders and files. So we must enable this feature for the windows terminal. On your desktop create a shortcut:

  • Right-Click -> New -> Shortcut
  • Enter DukeDSClient-Terminal in the name (or whatever you prefer).
  • Click Next.
  • Change Target to C:\Windows\System32\cmd.exe /K CHCP 65001 && set PYTHONIOENCODING=UTF-8
  • Change Start in to %HOMEPATH%. This determines the folder the terminal will start in.

Doubleclick this shortcut to start a terminal for using ddsclient. If you just open cmd.exe you will get an error about unicode support using ddsclient.

Clone this wiki locally