Debian package: Difference between revisions
Jump to navigation
Jump to search
| Line 20: | Line 20: | ||
| <code>aquarium.sql</code> || database dump containing empty database || database repo || - | | <code>aquarium.sql</code> || database dump containing empty database || database repo || - | ||
|- | |- | ||
| <code>aquariumcontrol_database_cleanup_setup.sh</code> || script for setting up database maintenance || database repo || | | <code>aquariumcontrol_database_cleanup_setup.sh</code> || script for setting up database maintenance || database repo || <code>/usr/local/bin</code> | ||
|- | |- | ||
| <code>aquariumcontrol_database_setup.sh</code> || script for initializing database || database repo || | | <code>aquariumcontrol_database_setup.sh</code> || script for initializing database || database repo || <code>/usr/local/bin</code> | ||
|- | |- | ||
| <code>aquarium_client</code> || executable of terminal application || <code>target/release</code> of client repo || <code>/usr/local/bin</code> | | <code>aquarium_client</code> || executable of terminal application || <code>target/release</code> of client repo || <code>/usr/local/bin</code> | ||
Revision as of 16:34, 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
- MariaDB
- bcrypt (for running the database setup script)
Content
The Debian package contains the following data:
| 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 | - |
aquariumcontrol_database_cleanup_setup.sh |
script for setting up database maintenance | database repo | /usr/local/bin
|
aquariumcontrol_database_setup.sh |
script for initializing database | database repo | /usr/local/bin
|
aquarium_client |
executable of terminal application | target/release of client repo |
/usr/local/bin
|
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.