docs, log & restore user rpi build

This commit is contained in:
bordun 2020-11-10 13:05:06 +01:00
parent c9e3641332
commit 9431fd722e
3 changed files with 19 additions and 21 deletions

View file

@ -21,6 +21,13 @@ npm install
npm run build
```
!!! tip "Raspberry systems"
Run this instead of `npm install` if the architecture is `armv7l`
```
npm install --arch=armv7l
```
!!! info "Updating from sources"
```bash
git pull
@ -51,12 +58,9 @@ npm run build-docs
## Package from sources
Follow the "Run from sources" instructions, then:
```bash
git clone https://github.com/jean-emmanuel/open-stage-control
cd open-stage-control/
# uncomment next line if you want the latest release
# instead of the current development version
# git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
# TARGET_PLATFORM can be linux, win32 (windows) or darwin (os x)
export PLATFORM=TARGET_PLATFORM
@ -64,21 +68,8 @@ export PLATFORM=TARGET_PLATFORM
export ARCH=TARGET_ARCH
npm install
# run this instead if ARCH is armv7l
# npm install --arch=armv7l
npm run build
npm run package
# Do one of the following if you want a deb package for debian/ubuntu
npm run deb32
npm run deb64
npm run debarm
# The node-only package can be built with
npm run package-node
@ -89,3 +80,10 @@ This will build the app in `dist/open-stage-control-PLATFORM-ARCH`.
!!! info ""
Building the app for windows from a linux system requires wine to be installed.
## Debian/Ubuntu installer
```
npm run deb64
```