Historically the webapp built on top of the Canto Cumulus web service, Canto Integration Platform (CIP). But everything related to this particular asset management system has been wrapped in abstractions, which is why Collections Online, with some customization, can be used with any modern DAMS that exposes an HTTP (RESTful) web-service.
The webapp is built using node.js, Express, pug, and elasticsearch - if no seperate document index exists. Most of the front-end stuff is using jQuery for performing auto suggestion and UI updates. It is using the existing cip.js implementation for querying the CIP.
The solution is built by Headnet ApS and Socialsquare ApS. Licensed under LGPL v3.
You'll find documentation, instructions and more right here.
You should not try to setup the project, directly from this repository. Start from the repository of a customization, to which this repository should be a dependency. If you havn't created a customization yet - see the documentation for information on how to set it up.
First ensure that you have a running version of Node.js (and the NPM tool) (the current code has been tested on node v.7.2).
Consider getting elasticsearch as well.
If you're on a mac it's easiest to install elasticsearch using homebrew which
installs to /usr/local/Cellar/elasticsearch/
.
Then, within your customization, run npm install
.
Have a look at the docs for layout sections.
In case you find bugs please open an issue.
Please fork the repository into your own github account and create a pull request whenever you are done with your changes. Ideally, you should rebase your branch before creating the pull request in case of upstream changes.
From 2016 and going forward the development team has been using the following tools for linting and aligning coding styles:
- jscs (for the Atom Editor the linter-jscs can be used)