Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.22 KB

DEVELOPMENT.md

File metadata and controls

49 lines (30 loc) · 1.22 KB

Deployment

  1. Make sure CHANGELOG.md is up to date.

  2. git checkout main

  3. git pull

  4. npm version ____ for the new version number.

  5. Wait for Travis to finish. https://travis-ci.com/github/arubanetworks/meridian-web-sdk/builds

  6. Copy/paste the CHANGELOG update into #releases in Slack.

  7. That's it!

Local Docs

  1. npm run docs

  2. npx serve docs

You will need to re-run npm run docs every time you change the docs.

Running Local Tag Tracker

Local tag tracker requires Go and Redis to work correctly.

Cypress Tests

To run local Cypress tests, start your local development server normally. Then, in another terminal, run npx cypress open --e2e. You can then use the Cypress UI to run your tests. Travis CI runs these tests on each commit.

Folder Structure

  • src/ Library code
  • files/ Static files loaded thru Webpack (images, etc)
  • demo/ The example implementation demos
  • cypress/ Automated UI tests

Testing Production Data Locally

  • Go to the Meridian Editor
  • Select your location
  • Click Settings on the sidebar
  • Click the Web SDK tab
  • Copy the needed values from the code snippet
  • Plug those values into your local location viewer (http://localhost:3011/location-viewer/)