Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apoleon33/m-a-p
:seedling: machine à plante
https://github.com/apoleon33/m-a-p
arduino cpp discord electron plants python raspberry-pi
Last synced: 2 months ago
JSON representation
:seedling: machine à plante
- Host: GitHub
- URL: https://github.com/apoleon33/m-a-p
- Owner: apoleon33
- License: gpl-3.0
- Created: 2020-11-20T22:06:11.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-02T15:36:57.000Z (about 2 years ago)
- Last Synced: 2024-05-03T03:31:47.231Z (8 months ago)
- Topics: arduino, cpp, discord, electron, plants, python, raspberry-pi
- Language: JavaScript
- Homepage:
- Size: 2.3 MB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
M-A-P
An invention to manage a plant automatically
## Summary
- [Summary](#summary)
- [Useful links](#useful-links)
- [Installation](#installation)
- [Prerequisites](#prerequisites)
- [Automatic install](#automatic-install)
- [Manual install](#manual-install)
- [Build the M-A-P](#build-the-m-a-p)
- [change the theme of the M-A-P](#change-the-theme-of-the-m-a-p)## Useful links
- [3D files needed to be printed](https://github.com/M-A-P-Organisation/3D-files)
- [the discord bot (soon deprecated)](https://github.com/M-A-P-Organisation/discord-bot)
- [the plant database](https://github.com/M-A-P-Organisation/MiFloraDB)## Installation
### Prerequisites
You need to have nodejs/npm installed.
### Automatic install
```sh
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
```sh
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 ](https://github.com/adafruit/DHT-sensor-library) by adafruit to work
## Build the M-A-P
- for the actual platform:
```sh
yarn dist
```- for a specific platform:
`yarn dist ` and:
```sh
--mac, -m, -o, --macos # Build for macOS
--linux, -l #Build for Linux
--win, -w, --windows # Build for Windows
```See [electron-builder](https://www.electron.build/cli) for a complete list of the targets availables.
## change the theme of the M-A-P
All the themes are contained in themeManager.py
```sh
pip install -r requirements.txt
yarn run change-palette --palette=NameOfThePalette
# then restart the M-A-P!
```