Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.

Latest commit

 

History

History
63 lines (45 loc) · 1.31 KB

CONTRIBUTING.md

File metadata and controls

63 lines (45 loc) · 1.31 KB

Develop

Get started by running the app in development mode:

$ git clone https://github.com/stencila/desktop.git
$ cd desktop
$ npm install
$ npm start

Release workflow

  1. Try out the release before npm publishing using local npm installs.

    Have all projects (stencila, stencila-node, stencila-desktop) side by side.

    $ cd stencila
    $ npm install
    $ node make
    $ cd stencila-node
    $ npm install ../stencila
    $ cd stencila-desktop
    $ npm install ../stencila-node
    $ npm start
  2. Do some testing and if it looks good we can publish the individual packages:

    Bump Stencila version in package.json and npm publish.

    $ cd stencila
    $ npm publish

    Update the Stencila dependency and bump version of stencila-node in package.json and npm publish.

    $ cd stencila-node
    $ npm publish

    Update the stencila-node dependency and bump version of stencila-desktop in package.json.

    Now make a release bundle for each platform (OSX, Linux, Windows)

    $ cd stencila-desktop
    $ rm -rf node_modules
    $ npm install
    $ npm run release

    Create a release on Github (using a new release tag) and upload the app packages for all platforms.