Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This documentation expects the user to know or have read the How to Setup UI Environment documentation.

Info

The https://repository.folio.org/repository/npm-folioci/ works well with the latest development.
The https://repository.folio.org/repository/npm-folio/ works well with production releases.

Configuring Environment

The stripes-cli project can be installed locally but in general the stripes should be used via yarn.

...

Note

UI-Workflow may need to be executed using a 2.7 or 2.8 version of stripes.
In those cases, please explicitly designate a 2.7 or 2.8 verson of stripes when installing stripes globally.
Example:

Code Block
yarn global add @folio/stripes-cli@2.8.0

...

The following is an example on what is used to ensure ui-workflow is working in the Scratch environment.

Code Block
languagebash
# stripes okapi login diku_admin --okapi https://folio-dev-aggies-okapi.ci.folio.org --tenant diku
# stripes mod add --okapi https://folio-dev-aggies-okapi.ci.folio.org --user diku_admin --tenant diku
# stripes mod enable --okapi https://folio-dev-aggies-okapi.ci.folio.org --user diku_admin --tenant diku
#
stripes app perms | stripes perm assign --okapi https://folio-dev-aggies-okapi.ci.folio.org --user diku_admin --tenant diku
Info

The ./stripes.config file may also be used in place of the --okapi and similar commands (except for --user diku_admin, such as:

Code Block
languagebash
stripes mod add ./stripes.config --user diku_admin
stripes mod enable ./stripes.config --user diku_admin
stripes app perms | stripes perm assign ./stripes.config --user diku_admin