Skip to content

cspace-deployment/cspace-ui-plugin-profile-pahma.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Ray Lee
Nov 1, 2024
5c2f9a0 · Nov 1, 2024
Jul 19, 2018
Jul 31, 2024
Aug 1, 2024
Jul 11, 2024
Nov 25, 2020
Nov 25, 2020
Jun 13, 2018
Jun 13, 2018
Jun 13, 2018
Oct 31, 2024
Jul 11, 2024
Jul 11, 2024
Nov 1, 2024
Oct 18, 2024
Jan 29, 2021
Jul 11, 2024
Jul 11, 2024

Repository files navigation

cspace-ui-plugin-profile-pahma

build status

PAHMA profile plugin for the CollectionSpace UI.

Installation

For developers

Follow these instructions to download and install the source code of the plugin.

Using git:

$ git clone https://github.com/collectionspace/cspace-ui-plugin-profile-pahma.js.git
$ cd cspace-ui-plugin-profile-pahma.js
$ npm install

To run the cspace-ui application configured with this plugin in development, using a remote back-end CollectionSpace server:

$ npm run devserver --back-end=https://pahma.qa.collectionspace.org

Then open a browser to http://localhost:8080.

Alternatively, to run the cspace-ui application configured with this plugin in development, using the UI configuration in index.html:

$ npm run devserver

By default, the configuration in index.html uses the CollectionSpace services API located at http://localhost:8180. To run the application against CollectionSpace services located on a different host, edit index.html, and change the serverUrl configuration property. Note that the CollectionSpace services on the specified server must have been deployed with the build-time environment variable CSPACE_PAHMA_UI_BASE_URL_OPT set to http://localhost:8080/ (note the trailing slash). This ensures that CORS and OAuth on the server are configured to allow connections from the locally running UI.