1.0.0 • Published 3 years ago

keg-test-consumer v1.0.0

Weekly downloads
5
License
-
Repository
-
Last release
3 years ago

Overview

Simple app for testing out tap-events-force tap in a consumer environment. Made with create-react-app.

Live Demo

Go to App.js to see the source code that calls the tap-evf-sessions component.

Usage

Testing the tap-evf-sessions package from NPM

  1. yarn install
  2. yarn start

Testing your local tap-events-force in the keg-cli docker environment

  1. keg consumer start
  • starts the container itself, but not the react app yet, with the consumer mounted at keg/app
  1. keg consumer sync evf:install:start
  • syncs your local tap-events-force into the container at /keg/tap, then starts the build server, which will rebuild the sessions component whenever a change is detected. It will automatically place it inside of the consumer's /keg/app/node_modules/@keg-hub/tap-evf-sessions

Note: when following these instructions, replace consumer and evf with your local keg-cli link aliases for keg-test-consumer and tap-events-force respectively

Running Production locally (with sync)

  • ensure running container from the instructions above
  • run yarn docker:build:evf
  • yarn build:local
  • yarn run:local

Running Production locally (no sync)

  • yarn build:local
  • yarn run:local