https://github.com/folio-org/stripes-sample-platform
Configuration for a sample platform and to run a local Stripes UI development server
https://github.com/folio-org/stripes-sample-platform
Last synced: about 1 year ago
JSON representation
Configuration for a sample platform and to run a local Stripes UI development server
- Host: GitHub
- URL: https://github.com/folio-org/stripes-sample-platform
- Owner: folio-org
- Created: 2017-02-13T17:54:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-01-21T16:37:20.000Z (over 1 year ago)
- Last Synced: 2025-03-31T06:32:11.428Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.04 MB
- Stars: 1
- Watchers: 15
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stripes sample platform
This is an example of a Stripes "platform". It consists simply of an NPM [`package.json`](https://docs.npmjs.com/files/package.json) that specifies the version of `@folio/stripes` and of any Stripes modules you wish to make available to generate client bundles.
Please see the [Developing UI Modules with Stripes](https://folio-org.atlassian.net/wiki/x/DQBpCQ) for more information.
The `stripes.config.js` is a configuration for a specific tenant. In general, a platform supports multiple tenants, each of which may include a different set of the available modules.
## Running the sample platform locally
* Install NodeJS >= 20
* Run `yarn`
* Run `yarn stripes serve stripes.config.js`
## Deploying the sample platform
* Install NodeJS >= 20
* Run `yarn`
* Run `yarn stripes build stripes.config.js`
* This will generate a bundle in `./output`; copy these assets to your HTTP server