updated readme
This commit is contained in:
@@ -7,16 +7,19 @@ Linux packages (apt)
|
||||
Python3 packages (pip3)
|
||||
> adafruit-circuitpython-dht mh-z19
|
||||
|
||||
The setup script installs these for you.
|
||||
The setup script installs the python packages for you, you will have to install the apt packages yourself.
|
||||
|
||||
## Setup
|
||||
|
||||
1. Pull the repository.
|
||||
1. Clone the repository.
|
||||
1. Fill out your specific config options in `./server/.env`
|
||||
1. Ensure `./server/scripts/climate-pinger.py` has the correct pin for your adafruit-dht22 device and/or edit the script for your specific setup.
|
||||
1. Run `./setup.sh` as administrator
|
||||
1. Run `sudo apt-get install python3 libgpiod2 npm mariadb-server`
|
||||
1. Run `sh ./setup.sh` as user for the server
|
||||
1. Make sure the server user has access to MySQL/MariaDB, and is in the groups `gpio` and `dialout`.
|
||||
1. Start the server:
|
||||
> npm start
|
||||
1. Have fun!
|
||||
|
||||
## Usage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user