mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-11-04 05:53:21 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			59 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			59 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
** Windows Set up instructions **
 | 
						|
 | 
						|
## Prerequisites
 | 
						|
 | 
						|
* [Git](http://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
 | 
						|
* [Node.js](https://nodejs.org) >= v6.9.0
 | 
						|
* [python](https://www.python.org/downloads/release/python-2713/) (v2.7.x recommended)
 | 
						|
* [node-gyp](https://github.com/nodejs/node-gyp#installation) (installed via powershell)
 | 
						|
 | 
						|
## System specific dependencies
 | 
						|
 | 
						|
* use only 32bit or 64bit for all of the installers, do not mix architectures
 | 
						|
* install using default settings
 | 
						|
* open Windows Powershell as Admin
 | 
						|
```powershell
 | 
						|
C:\Windows\system32> npm install --global --production windows-build-tools
 | 
						|
```
 | 
						|
 | 
						|
## Installation
 | 
						|
 | 
						|
Clone the source locally:
 | 
						|
 | 
						|
```sh
 | 
						|
$ git clone https://github.com/zulip/zulip-electron
 | 
						|
$ cd zulip-electron
 | 
						|
```
 | 
						|
 | 
						|
Install project dependencies:
 | 
						|
 | 
						|
```sh
 | 
						|
$ npm install
 | 
						|
```
 | 
						|
 | 
						|
Start the app:
 | 
						|
 | 
						|
```sh
 | 
						|
$ npm start
 | 
						|
```
 | 
						|
 | 
						|
Start and watch changes
 | 
						|
 | 
						|
```sh
 | 
						|
$ npm run dev
 | 
						|
```
 | 
						|
### Making a release
 | 
						|
 | 
						|
To package app into an installer use command:
 | 
						|
```
 | 
						|
npm run pack
 | 
						|
npm run dist
 | 
						|
```
 | 
						|
It will start the packaging process. The ready for distribution file (e.g. dmg, windows installer, deb package) will be outputted to the `dist` directory.
 | 
						|
 | 
						|
# Troubleshooting
 | 
						|
If you have any problems running the app please see the [most common issues](./troubleshooting.md).
 | 
						|
 | 
						|
 | 
						|
 |