Data initialization in DigiAgriApp#

Load data#

Before entering new information, load default data saved in JSON format provided by DigiAgriApp to populate the database and be compliant with all the other DigiAgriApp instances.

If you run DigiAgriApp with Podman or Docker run

podman/docker exec django python3 src/manage.py loaddata default

Instead if you run DigiAgriApp with native installation from the main DigiAgriApp source code folder run

python3 src/manage.py loaddata default

Generic data#

If you want to add generic data we suggest you to add them first in the DigiAgriApp opening a new merge request for the JSON file of the application where you want to add data. This is important to maintain compatibility between different DigiAgriApp instances.

In the core application you can find

  • Brands: the brand of the hardware, but it can also be an institute if the prototype is developed in its own laboratory.

  • Device types: the type of instrument that send data (drone, microcontroller, prototype name)

  • Units: the unit of measurement of the acquired data

  • Value types: the names of the measured variables

Other data entry#

Once completed all the steps described in the previous section, proceed by adding data in the application. Open the app and login with admin account. You will see a screen like the one below.

  • Farms: farms are the main feature where all other element are connected to

  • Organizations: consortia, associations or institutes

Here you can modify your data by adding applications, devices, sensors, and so on.

Field and other data#

Finally, you can start to create other data, you can use the admin panel, but we suggest to use the app or QGIS plugin.