Extra steps for web staff client

Note

Skip this entire section if you are using an official release tarball downloaded from http://evergreen-ils.org/downloads. Otherwise, ensure you have installed the optional developer additions before proceeding.

Install AngularJS files for web staff client

  1. Building, Testing, Minification: The remaining steps all take place within the staff JS web root:

    cd $EVERGREEN_ROOT/Open-ILS/web/js/ui/default/staff/
  2. Install Project-local Dependencies. npm inspects the package.json file for dependencies and fetches them from the Node package network.

    npm install   # fetch JS dependencies
  3. Run the build script.

    # build, concat+minify
    npm run build-prod
  4. OPTIONAL: Test web client code if the <osname>-developer packages were installed. CHROME_BIN should be set to the path to chrome or chromimum, e.g., /usr/bin/chromium:

    CHROME_BIN=/path/to/chrome npm run test

Install Angular files for web staff client

  1. Building, Testing, Minification: The remaining steps all take place within the Angular staff root:

    cd $EVERGREEN_ROOT/Open-ILS/src/eg2/
  2. Install Project-local Dependencies. npm inspects the package.json file for dependencies and fetches them from the Node package network.

    npm install   # fetch JS dependencies
  3. Run the build script.

    # build and run tests
    ng build --prod
  4. OPTIONAL: Test eg2 web client code if the <osname>-developer packages were installed: CHROME_BIN should be set to the path to chrome or chromimum, e.g., /usr/bin/chromium:

    CHROME_BIN=/path/to/chrome npm run test