Go to https://github.com/zaki-yama/chatter-desktop/releases and download .dmg
file of the latest version.
Note: For Mac users only. For users of other OS, please package by yourself by reading Development and Packageing section.
- Note: requires a node version >= 7 and an npm version >= 4.
First, clone the repo via git:
git clone --depth=1 https://github.com/zaki-yama/chatter-desktop.git
And then install dependencies with yarn.
$ cd chatter-desktop
$ yarn
Note: If you can't use yarn, run npm install
.
Start the app in the dev
environment. This starts the renderer process in hot-module-replacement mode and starts a webpack dev server that sends hot updates to the renderer process:
$ yarn dev
Alternatively, you can run the renderer and main processes separately. This way, you can restart one process without waiting for the other. Run these two commands simultaneously in different console tabs:
$ yarn start-renderer-dev
$ yarn start-main-dev
To package apps for the local platform:
$ yarn package
To package apps for all platforms:
First, refer to Multi Platform Build for dependencies.
Then,
$ yarn package-all
π‘ You can debug your production build with devtools by simply setting the DEBUG_PROD
env variable:
DEBUG_PROD=true yarn package
MIT Β© Shingo Yamazaki