Skip to content

Telegram BOT for geodata collection, developed within the Interreg Project INSUBRI.PARKS

License

Notifications You must be signed in to change notification settings

opengeolab/geocollectorbot

Repository files navigation

logo

Geo Collector Bot

License Pipeline Status

Telegram BOT for geodata collection, developed within the project INSUBRI.PARKS funded by the Interreg Co-operation Programme Italy–Switzerland 2014 -2020 (ID 605472).

Documentation

To know how the Bot works you can follow the official documentation.

Local development

To develop Servo locally you need:

  • Node 18+
  • Yarn 1.22+

To set up Node, please if possible try to use nvm, so you can manage multiple versions easily. Once you have installed nvm, you can go inside the directory of the project and simply run nvm install, the .nvmrc file will install and select the correct version if you don’t already have it.

Yarn can be installed globally running npm i -g yarn.

Once you have all the dependency in place, you can launch:

yarn
yarn coverage

This two commands, will install the dependencies and run the tests with the coverage report that you can view as an HTML page in coverage/lcov-report/index.html.

Now create your local copy of the default values for the env variables needed for launching the application.

cp ./example.env ./env

From now on, if you want to change anyone of the default values for the variables you can do it inside the .env file without pushing it to the remote repository.

Once you have all your dependency in place you can launch:

yarn build
yarn start

and you will have the Bot exposed on your machine. From now on, you can follow the instructions in the examples folder to set up a working version of your Bot.

Contributions

GEOlab - Politecnico di Milano (contact: Daniele Oxoli)

Developed by Edoardo Pessina - GitHub

License

MIT © GEOlab

About

Telegram BOT for geodata collection, developed within the Interreg Project INSUBRI.PARKS

Resources

License

Stars

Watchers

Forks