SystemComponent "ui.dataspectsSystem"

From FindAndLearn::Cookbook
C0792223532
Jump to: navigation, search




CanBeInstalled Yes CanBeBuilt Yes CanBeDeployed Yes

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

  1. [email protected]:~/dataspects-ui$ yarn config set version-tag-prefix ""
  2. [email protected]:~/dataspects-ui$ yarn version
    Set version... JUST SEMANTIC VERSIONING, no "v"!
  3. [email protected]:~/dataspects-ui$ git commit -m "Any message"
  4. [email protected]:~/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

package.json
{
  "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