open-stage-control/resources/docs/build-from-sources.md
jean-emmanuel e29ea9702c typo
2016-03-18 08:41:23 +01:00

809 B

Build from sources

Requirements

$ sudo apt-get install npm  # install nodejs & npm
$ sudo npm install -g npm   # update npm

Build

$ git clone https://github.com/jean-emmanuel/open-stage-control
$ cd open-stage-control
$ npm install --save-optional
$ export PLATFORM=TARGET_PLATFORM # TARGET_PLATFORM can be linux, win32 (windows) or darwin (os x)
$ export ARCH=TARGET_ARCH         # TARGET_ARCH can be ia32 or x64
$ npm run build

$ # Do the following if you want a deb package for debian/ubuntu
$ npm run deb32
$ # or
$ npm run deb64

This will build the app in dist/open-stage-control-PLATFORM-ARCH.

Please note that building the app for windows from a linux system requires wine to be installed.