Skip to content
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.

Install Dependencies

Alexandru Rosianu edited this page Jul 15, 2015 · 1 revision

Make sure you have the latest versions of node.js and npm installed.

NPM dependencies

Don't forget to install the app's dependencies before building it:

Global dependencies:

npm install -g gulp

Local dependencies:

npm install

The last command should also install the modules for ./src and dedupe them. If ./src/node_modules/ doesn't exist then:

cd ./src
npm install
npm dedupe

You can safely ignore the conflict warnings from npm dedupe.

Pre-Requisites

OS X releases

For OS X releases, you need an OS X machine.

Linux releases

If you want to build deb and rpm packages for Linux, you need fpm. To quickly install it on OS X:

sudo gem install fpm
brew install rpm

More detailed info: https://github.com/jordansissel/fpm#system-packages.

Note: I don't know if fpm works on Windows, probably not because of the dependencies. But why would you want to do that, anyway? Linux <3

Windows releases

For Windows releases, you need a Windows machine. The packaging tasks only work on Windows due to their dependencies: Squirrel.Windows and Microsoft's SignTool. Yes, I tried wine and it didn't work.

To sign the app, make sure you have SignTool.exe in your PATH.

You can use AppVeyor CI to build for Windows.

Clone this wiki locally