SystemComponent "ui.dataspectsSystem"

From dataspects::Wiki
Jump to navigation Jump to search

CanBeInstalled Yes CanBeBuilt Yes CanBeDeployed Yes

Get master up-to-date, then pull it and do:

  1. user@workstation:~/dataspects-ui$ yarn config set version-tag-prefix ""
  2. user@workstation:~/dataspects-ui$ yarn version
    Set version... JUST SEMANTIC VERSIONING, no "v"!
  3. user@workstation:~/dataspects-ui$ git commit -m "Any message"
  4. user@workstation:~/dataspects-ui$ git push --tags

CanBeUpgraded Yes

  1. docker pull dataspects/ui:0.X.0
  2. vi docker-compose.yml
  3. docker-compose stop ui
  4. docker-compose up --detach --no-deps ui

CanBeDeveloped Yes

CanBeTested Yes

  "name": "dataspects-ui",
  "scripts": {
    "start": "node app.js",
    "build": "node_modules/gulp/bin/gulp.js build",
    "test-infra": "NODE_ENV=test node_modules/mocha/bin/mocha './test/*.test.js' -exit",
    "test-search": "NODE_ENV=test node_modules/mocha/bin/mocha './test/search/*.test.js' -exit",
    "test-dataspects-relevance": "NODE_ENV=test node_modules/mocha/bin/mocha './test/dataspects-relevance/*.test.js' -exit"
yarn test-infra
yarn test-search
yarn test-dataspects-relevance