Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Latest commit

 

History

History
54 lines (37 loc) · 1.07 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.07 KB

Toggle UI

A ui for managing your toggles.

Build Status

About

Read our blog post series about this repository at:

Installation

First, install the dependencies:

bower install

To use the UI, you will need to create your config.js to configure the API endpoint.

# From project root
$ cp app/js/config.js.dist app/js/config.js
# Configure your endpoint URL
$ vim app/js/config.js

You are now ready to serve the UI with your favorite webserver.

Tests

If you want to run the karma tests, you'll need to install the dependencies:

$ npm install

You can now run the karma tests:

$ scripts/test.sh --single-run

And the e2e tests:

$ scripts/web-server.js
$ scripts/e2e-test.sh --single-run

License

MIT, see LICENSE.