# cspace-ui-plugin-profile-mmi

[![build status](https://travis-ci.org/collectionspace/cspace-ui-plugin-profile-mmi.js.svg?branch=master)](https://travis-ci.org/collectionspace/cspace-ui-plugin-profile-mmi.js)

Museum of the Moving Image 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-mmi.js.git
$ cd cspace-ui-plugin-profile-mmi.js
$ npm install
```

To run the cspace-ui application configured with this plugin:

```
$ npm run devserver
```

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

By default, the application served from the dev server will use 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. For example, to use a server running
on nightly.collectionspace.org, port 8180, use the settings:

```
cspaceUI({
  serverUrl: 'http://nightly.collectionspace.org:8180',
  // ...
});
```
