Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 1.51 KB

README.md

File metadata and controls

50 lines (29 loc) · 1.51 KB

Connected Roots

Table of Contents

  1. General Info
  2. Dependencies
  3. Environment Variables
  4. Documentation
  5. Others

General Info

Go VERSION to use: v1.22.4

Connected Roots is a service to store data about farms and the data recollected by the sensors.

Dependencies

  • PostgreSQL: The database where data are stored. Kind of data to save.

Environment Variables

This service is configured using environment variables.

The next table shows all the environment variables related to Connected Root configuration.

Name Default value Description

Documentation

Others

pre-commit

You need pre-commit to committing in the project. Execute this command:

  • pip install pre-commit

To test the pre-commit works run pre-commit --version and you get the tool version installed previously.

All the config related to pre-commit is in .pre-commit-config.yaml file.

Then you need to install the pre-commit hook in the repository executing:

  • pre-commit install and get something like pre-commit installed at .git/hooks/pre-commit
  • pre-commit install --hook-type commit-msg and get something like pre-commit installed at .git/hooks/commit-msg