Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sacconazzo authored Jul 29, 2024
1 parent 2848fe7 commit 0857aca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- MySQL server 8 installed (or docker compose)
- Python3
- NodeJS (12 or later)
- A Web Server where to post the stats data (in this case `api.giona.tech`, you could comment this part if you want to work locally by directly querying the db)
- A Web Server where to post the stats data (in this case my own api server, you could comment this part if you want to work locally by directly querying the db)

## Installation

Expand All @@ -45,7 +45,7 @@

- enable serial port interface via `sudo rspi-config`
- clone this repo in your rpi home dir `git clone https://github.com/sacconazzo/gpio-rpi-van-battery-stats.git`
- install dep. with `yarn install` and `pip install -r requirements.txt`
- install dep. with `yarn install` and `sudo pip install -r requirements.txt`
- create mysql server and database (you can use `docker-compose.yaml` in `/db` folder)
- create table `battery-snaps` (you can create it running `yarn db:prepare`)
- configure `.env` file like `.env.example`
Expand Down

0 comments on commit 0857aca

Please sign in to comment.