Web user interface for Quipucords, based on Patternfly
Before developing for Quipucords UI, the basic requirements:
- Your system needs to be running NodeJS version 10+
- Docker
- And Yarn 1.13+ for dependency and script management.
Setting Docker up on a Mac? Install the appropriate package and you should be good to go. To check if everything installed correctly you can try these steps.
-
At a terminal prompt type
$ docker run hello-world
Setting Docker up on a Linux machine can include an additional convenience step. If you're having to prefix "sudo" in front of your Docker commands you can try these steps.
We recommend using Homebrew to do the install.
$ brew update
$ brew install yarn
-
Clone the repository
$ git clone https://github.com/quipucords/quipucords-ui.git
-
Install project dependencies
$ cd quipucords-ui && yarn
This is the default context for running a local UI with a randomized mock API.
Make sure Docker is running, then run
$ yarn start
For in-depth local run guidance review the contribution guidelines
Run the tests with coverage.
$ yarn test
For in-depth testing guidance review the contribution guidelines
Contributing to Quipucords UI encompasses repository specific requirements and the global Quipucords contribution guidelines.