/M-A-P

:seedling: machine à plante

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

M-A-P

An invention to manage a plant automatically

Summary

Useful links

Installation

Prerequisites

You need to have nodejs/npm installed.

Automatic install

git clone --recursive https://github.com/apoleon33/M-A-P.git
# once its done and you have cd-ed on the right directory:
./install.sh

Manual install

git clone --recursive https://github.com/apoleon33/M-A-P.git
# once its done and you have cd-ed on the right directory:
yarn install # install needed component like electron or serialport
yarn run sass # preprocess the sass
yarn start # launch the M-A-P. Have fun!

The arduino also require the DHT sensor library by adafruit to work

Build the M-A-P

  • for the actual platform:
yarn dist
  • for a specific platform:

yarn dist and:

--mac, -m, -o, --macos # Build for macOS
--linux, -l #Build for Linux
--win, -w, --windows # Build for Windows

See electron-builder for a complete list of the targets availables.

change the theme of the M-A-P

All the themes are contained in themeManager.py

pip install -r requirements.txt
yarn run change-palette --palette=NameOfThePalette
# then restart the M-A-P!