Optional: 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

Install dependencies for web staff client

Note

You may skip this section if you are installing on either Debian Jessie, Ubuntu Trusty, or Ubuntu Xenial and you have installed the previously described Optional: Developer Additions. You will still need to do the following steps in Install files for web staff client.

  1. Install the long-term stability (LTS) release of Node.js. Add the Node.js /bin directory to your environment variable PATH.
  2. Install Grunt CLI

    % sudo npm install -g grunt-cli
  3. Install Bower

    % sudo npm install -g bower

Install 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 Grunt dependencies
    bower install # fetch JS dependencies
  3. Run the build script.

    # build, run tests, concat+minify
    grunt all