Skip to content
This repository was archived by the owner on Feb 13, 2018. It is now read-only.

dina-web-nrm/collections-ui

Repository files navigation

Note: This repository is archived

A version of the UI based on this repo is available at https://archive-cm.dina-web.net/. The new UI resides in https://github.com/DINA-Web/dina-collections.

DINA Collections UI

Build Status

Source code for Collection Manager User Interface for managing Museum Collections.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • change into the new directory
  • npm install
  • bower install

Running / Development

To find an overview of the project see project structure.

Setting up API connection

To be able to use the application properly you will need to run a version of the API as well. The API and instructions on how to run it can be found in the dina-web/dw-collections repository.

Once you have the API up and running modify the HOST in the development section in config/environment.js to match the URL to your API.

Linting

The project is using ESLint for linting the JavaScript.

If using Sumblime enable linting by:

  • Installing ESLint using npm install -g eslint
  • Install SublimeLinter and SublimeLinter-contrib-eslint using Sublime Package Control.

Running Tests

  • ember test
  • ember test --server

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Detailed deploy instructions

The application can be deployed using Docker and a Dockerfile is included to build an image including a production build of the application and a nginx server.

To build a Docker image of the application:

  • ember build --environment production --output-path dw-collection-manager
  • docker build --tag slug/repo_name:version .

Once you've run these two commands you'll have a Docker image that you can deploy.

Building with Travis

By default this repository will be built using Travis-ci and a release will be generated and uploaded to github releases and docker hub for each tag.

The integration repository dina-web/dw-collections-ui can be used to deploy the application.

Further Reading / Useful Links

Internal docs

External reading

About

Collection Manager User Interface for managing Museum Collections

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors