/ui-calendar

FOLIO institutional calendar UI module

Primary LanguageTypeScriptApache License 2.0Apache-2.0

ui-calendar

Copyright (C) 2017-2022 The Open Library Foundation

This software is distributed under the terms of the Apache License, Version 2.0. See the file "LICENSE" for more information.

Introduction

This is a Stripes UI module for institutional calendar functions.

Prerequisites

To setup a Stripes development workspace (needed if you plan on editing multiple stripes packages at once), see this page. If you do not need to edit multiple packages, you may simply clone this repo and run yarn install within.

In order to view and log into the module, you must use an existing Okapi backend. You can set one up using the testing-backend Vagrant box or use some other Okapi server.

Run the module

Run the following from this directory to serve the module on your local machine (with a local Okapi installation):

stripes serve

Note: you may need to replace stripes with npx stripes depending on your shell's path resolution.

To use a different tenant and/or Okapi instance, you can use the --okapi and --tenant parameters:

stripes serve --okapi http://my-okapi.example.com:9130 --tenant my-tenant-id

Run the tests

You can run the test suite with:

yarn test

Additional information

Other modules.

See project UICAL at the FOLIO issue tracker.

Other FOLIO Developer documentation is at dev.folio.org