Skip to content

Dev: Preperations

borsTiHD edited this page Jul 31, 2021 · 5 revisions

Introduction

You only need these preparations if you want to contribute to the project and run the developer environment.
They are also required if you want to build and deploy your own app from source.

Please also remember that in order for the app to have write permissions on the host system, everything must be executed via sudo on the raspberry pi, for example.

Preperations

Install NodeJS

# install nodejs
$ curl -sL https://deb.nodesource.com/setup_16.x | sudo bash -
$ sudo apt install nodejs

# verify the installation
$ node -v

Install yarn

# install yarn
$ npm install --global yarn

# verify the installation
$ yarn -v

Clone repo

$ git clone ...
$ cd pi-control

Installing dependencies

$ yarn install

Clone this wiki locally