There is a comprehensive quick start guide in the Storybook Documentation to setting up an Insights environment complete with:
Note: You will need to set up the Insights environment if you want to develop with the starter app due to the consumption of the chroming service as well as setting up your global/app navigation through the API.
npm install
- Have insights-proxy installed under PROXY_PATH and run the following command:
SPANDX_CONFIG="./config/spandx.config.js" bash $PROXY_PATH/scripts/run.sh
npm start
- Checkout https://ci.foo.redhat.com:1337/insights/actions or https://prod.foo.redhat.com:1337/insights/actions depending on which api env your testing against
- Travis is used to test the build for this code.
npm run test
will run linters and tests
The follow six branches are used by IF
- prod-stable, prod-beta
- ci-stable, ci-beta
- qa-stable, qa-beta
A push or merge to master will automatically release to ci-beta and qa-beta The same will happen with action against master-stable, it will automatically release to ci-stable and qa-stable The prod-beta and prod-stable environments are updated by a deliberate push, (to each branch)