refstack/refstack-ui
Paul Van Eck 96558296aa Use Refstack API to get capabilities and versions
All capability versions listed on the capability page and
report page will now come from the API along with actual
capability content.

Change-Id: I1e39ef600c60cad7e0ada64a86fab48108fa51bf
2015-05-08 17:20:26 -07:00
..
app Use Refstack API to get capabilities and versions 2015-05-08 17:20:26 -07:00
tests Use Refstack API to get capabilities and versions 2015-05-08 17:20:26 -07:00
.bowerrc Added groundwork for the refstack user-interface. 2015-04-13 23:43:43 -07:00
.gitignore Add results and test report page 2015-04-27 09:50:27 -07:00
README.rst Add results and test report page 2015-04-27 09:50:27 -07:00
bower.json Add results and test report page 2015-04-27 09:50:27 -07:00
package.json Added non-interactive config flag to bower install. 2015-04-23 16:32:00 +00:00

README.rst

Refstack User Interface

User interface for interacting with the Refstack API.

Setup

Create a config.json file and specify your API endpoint inside this file:

cp app/config.json.sample app/config.json

You can start a development server by doing the following:

Install NodeJS and NPM:

curl -sL https://deb.nodesource.com/setup | sudo bash -

sudo apt-get install nodejs

From the Refstack project root directory, move into the UI folder:

cd refstack-ui

Install dependencies and start the server:

npm start

Doing this will automatically perform npm start and bower install to get all dependencies.

By default, as noted in package.json, the server will use 0.0.0.0:8080.

Test

To run unit tests, simply perform the following:

npm test