Files
zulip-desktop/development.md
2017-05-24 17:13:19 -07:00

1.2 KiB

Development guide

Prerequisites

System specific dependencies

Linux

Install following packages:

$ sudo apt-get install build-essential libxext-dev libxtst-dev libxkbfile-dev

Installation

Clone the source locally:

$ git clone https://github.com/zulip/zulip-electron
$ cd zulip-electron

Install project dependencies:

$ npm install

Start the app:

$ npm start

Start and watch changes

$ npm run dev

Making a release

To package app into an installer use command:

npm run dist

It will start the packaging process for operating system you are running this command on. Ready for distribution file (e.g. dmg, windows installer, deb package) will be outputted to dist directory.

You can create Windows installer only when running on Windows, the same is true for Linux and OSX. So to generate all three installers you need all three operating systems.