Duke-GCB/bespin-ui

Name: bespin-ui

Owner: Duke Center for Genomic and Computational Biology

Description: An ember.js application frontend for bespin-api

Created: 2016-12-14 16:31:11.0

Updated: 2017-09-19 15:01:00.0

Pushed: 2017-12-14 19:19:39.0

Homepage:

Size: 917

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Bespin-UI

An ember.js application frontend for bespin-api.

Build Status

Prerequisites

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

Installation
Running / Development
Running Tests
Manual Builds
Automated Releases

The npm version command triggers the automated release process using Travis-CI and GitHub. npm version takes care of creating a git tag using semantic versioning. It runs the preversion and postversion scripts specified in package.json before and after tagging the new version. These scripts ensure that releases happen from a clean and current master branch, passes tests, and pushes the resulting tag to GitHub. When the new tag is pushed, Travis-CI builds releases for it and uploads them back to GitHub as Downloads.

The following command is all that's needed to produce a release:

version patch

You can also use major or minor for different version increments, or customize the commit message with -m

Deployment Details

Our bespin-web ansible role creates a docker container from bespin-webapp-docker, with a specified release of bespin-ui.

For each release, Travis-CI creates release builds and uploads them to the tag's GitHub release (.travis.yml). One build, bespin-ui-prod.tar.gz is produced with the prod JOB_WATCHER_URL, and the other, bespin-ui-dev.tar.gz is produced with the dev JOB_WATCHER_URL. Both are optimized, minified production builds that are ready to be served. The bespin-webapp-docker container serves these files with Apache.

For a different JOB_WATCHER_URL, create a manual build (see build-release.sh for examples).


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.