Editing static theme resources and connecting with DXSync

After you create a new theme, you can edit the static resources that are associated with the theme.

Before you begin

Install IBM Digital Experience File Sync on Github.

About this task

Static theme resources include the theme.html file, layout templates, skins, JavaScript, CSS, and image files. The resources are stored by default within WebDAV, which is accessible with any WebDAV client. Learn more about WebDAV.

IBM Digital Experience File Sync synchronizes all of your static theme resources with your local development environment so that you can modify them with your favorite editor. Your changes are automatically uploaded in the background.

Procedure

  1. Create a directory where you want to save the static theme resources.
  2. Use the command line to switch into the new directory and run dxsync init.
  3. Enter all of the necessary information.
  4. Select your new theme from the list of themes that appears.
  5. Run dxsync run. DXSync downloads all of the static theme resources to your local hard drive and watches all files for changes.
    Note: At any point in the future, you can resume your editing session by running the dxsync run command again. On startup, the tool checks for local and remote changes and completes a two-way synchronization. Go to the DXSync Wiki to learn more about DXSync.