Skip to content
ivmartel edited this page Jun 1, 2021 · 19 revisions

Welcome to the dwv-react wiki!

For now the wiki is used to store unordered notes...

Build

The project is set to build to the trunk folder on the gh-pages branch.

Prepare:

  1. checkout the master branch
  2. in package.json:
    • update the version number
    • change the homepage to refer to dwv-react/demo/stable
  3. commit and push (master branch)

Create build and publish:

  1. run yarn run build in the root folder, the build is in the build folder, copy it out of the sourced control folder
  2. checkout the gh-pages branch
  3. copy the content of the build folder to the demo/stable folder
  4. commit and push (gh-pages branch)
  5. test the live stable demo
  6. create a github release with a tag equal to the version and the zipped build folder as asset

Post steps:

  1. checkout the master branch
  2. in package.json:
    • update the version number
    • change the homepage to refer to dwv-react/demo/trunk
  3. commit and push (master branch)

⚠️ Decoders are copied in the public folder, if they are updated in dwv they should also be updated here...

Clone this wiki locally