Plant as a service
This is the server that receive the data from the IOT Device that reads the soil humidity from a plant.
The full article of how it was built you can find here: https://alexandremagno.net/en/2018/12/developing-iot-device-humidity-sensor-for-plants-using-arduino/
In Portuguese: https://alexandremagno.net/2018/12/desenvolvendo-um-projeto-com-internet-das-coisas-sensor-de-humidade-para-plantas-com-arduino/
- install:
brew install postgres(mac) - start the service:
brew services start postgresql - create postgres user:
createuser postgres -s - Login into postgres cli:
psql -U postgres - Create test database:
create database ahorta_test; - Create a dev database:
create database ahorta_dev; - Exit:
\q