-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
951 additions
and
402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[submodule "plant-database"] | ||
path = src/front/data/plant-database | ||
url = https://github.com/M-A-P-Organisation/plant-database | ||
[submodule "bot"] | ||
path = src/front/discord-bot | ||
url = https://github.com/M-A-P-Organisation/discord-bot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
# M-A-P | ||
**an invention to manage a plant automatically** | ||
**An invention to manage a plant automatically** | ||
|
||
[![CodeFactor](https://www.codefactor.io/repository/github/apoleon33/m-a-p/badge/main)](https://www.codefactor.io/repository/github/apoleon33/m-a-p/overview/main) | ||
[![CodeFactor](https://www.codefactor.io/repository/github/apoleon33/m-a-p/badge/main)](https://www.codefactor.io/repository/github/apoleon33/m-a-p/overview/dev) | ||
|
||
## Installation | ||
|
||
### prerequisites : | ||
you need to have those 3 installed: | ||
### Prerequisites : | ||
You need to have those 3 installed: | ||
1. node.js/npm | ||
2. python/pip | ||
3. bash | ||
|
||
### automatic install | ||
### Automatic install | ||
|
||
```sh | ||
curl -s https://raw.githubusercontent.com/apoleon33/M-A-P/main/install.sh | sh | ||
``` | ||
|
||
### manual install | ||
### Manual install | ||
|
||
```sh | ||
git clone https://github.com/apoleon33/M-A-P.git && cd M-A-P | ||
git clone --recursive https://github.com/apoleon33/M-A-P.git && cd M-A-P | ||
``` | ||
|
||
then you will have to install the needed python packages : | ||
Then you will have to install the needed python packages : | ||
(once you cd in M-A-P) | ||
```sh | ||
pip install -r requirements.txt | ||
``` | ||
then you will have to install the required npm packages: | ||
(once you are in M-A-P/src/front) | ||
Once its done, install the required npm packages: | ||
(in M-A-P/src/front) | ||
```sh | ||
npm install | ||
``` | ||
|
||
The arduino also require the [ | ||
The arduino also require the [ | ||
DHT sensor library ](https://github.com/adafruit/DHT-sensor-library) by adafruit to work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Installation guide | ||
|
||
## Prerequisites | ||
1. node.js/npm | ||
2. python/pip | ||
3. bash | ||
|
||
|
||
## Arduino | ||
### Choose the way to televerse it | ||
|
||
To televerse the code to the arduino you will need whether the [ arduino cli ](https://github.com/arduino/arduino-cli) or the [ arduino IDE ](https://www.arduino.cc/en/software), or anything like that. | ||
|
||
### Install the needed library | ||
You will need to install the [ dht library ](https://github.com/adafruit/DHT-sensor-library) | ||
|
||
once its done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
pyserial | ||
pypresence | ||
rich | ||
tkinter | ||
rich |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TOKEN = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,6 @@ data/temp_0.txt | |
data/temp_10.txt | ||
data/temp_20.txt | ||
data/temp_30.txt | ||
data/old.db | ||
data/old.db | ||
bot.js | ||
.env |
Submodule plant-database
added at
c4ca6d
Submodule discord-bot
added at
3849b2
Oops, something went wrong.