Debian package: Difference between revisions

From Aquarium-Control
Jump to navigation Jump to search
No edit summary
Line 23: Line 23:


== Creation of directories and files ==
== Creation of directories and files ==
The Debian package creates a directory and a set of files for the file-based communication as defined in the section <code>[data_logger]</code> of the configuration file.  
The Debian package creates
* a directory and a set of files for the file-based communication as defined in the section <code>[data_logger]</code> of the configuration file.
* an empty log file as defined in the section <code>[logger]</code> of the configuration file.


== Database creation ==
== Database creation ==

Revision as of 13:07, 1 January 2026

The Debian package shall check all dependencies and install the application on the Raspberry Pi.

Dependencies

Before starting the installation, the following dependencies are verified

  • Apache 2 with php
  • bcrypt (for running the database setup script)

Content

The Debian package contains the following data:

Debian package content
File name Description Origin Target directory
aquarium_control executable of main control target/release of main control repo /usr/local/bin
aquarium_control.toml configuration of main control config of main control repo /etc/aquarium_control
aquarium.sql database dump containing empty database database repo -


Creation of directories and files

The Debian package creates

  • a directory and a set of files for the file-based communication as defined in the section [data_logger] of the configuration file.
  • an empty log file as defined in the section [logger] of the configuration file.

Database creation

Message queue creation

Setup of webpage

Setup of main application configuration file

Setup of main application

Setup of terminal client

Instructions to the user