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 have installed the 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.

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, run tests, concat+minify
    npm run build-prod
    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
    npm run test