Skip to content
1000TurquoisePogs edited this page Nov 25, 2019 · 11 revisions

Plugins can have any build process desired as long as it doesn't conflict with the packaging structure. That is to say, your source code can be anywhere as long as the /web folder contains static web content, and the /lib folder contains server files, etc.

However, many plugins do follow a similar build process, which is described here.

Building web content

  1. Set the environment variable MVD_DESKTOP_DIR to /zlux-app-manager/virtual-desktop Example: export MVD_DESKTOP_DIR=/home/john/zowe/zlux-app-manager/virtual-desktop
  2. Go to the plugin's directory. If webClient exists, go into it. If not, skip this section.
  3. Run npm install to install dependencies. Check for successful return code.
  4. Run npm run build to build, which generates content within /web. Check for success.

Building server content

  1. Go to the plugin's directory. If nodeServer exists, go into it. If not, skip this section.
  2. Run npm install to install dependencies. Check for successful return code.
  3. Run npm run build to build, which generates content within /lib. Check for success.

Packaging

See the wiki

Installing

See the wiki