2019-08-16 16:44:57 +00:00
|
|
|
# Gestionale da Paura
|
|
|
|
A management software for GOLEM - Gruppo Operativo Linux Empoli.
|
|
|
|
|
|
|
|
## Components
|
|
|
|
* argento: president's interface to run on Sala-Corsi
|
|
|
|
* nicolodi: socio's interface to run on Limortouch
|
|
|
|
|
2019-08-16 22:19:57 +00:00
|
|
|
In next sections, «component» must be replaced by the proper name of the component.
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
Create `~/.config/it.linux.golem/component.conf` with following content:
|
|
|
|
|
|
|
|
[database]
|
2020-12-11 20:54:13 +00:00
|
|
|
hostname=vupiuesse.andromeda.golem.linux.it
|
|
|
|
port=7004
|
|
|
|
database=gestionale
|
2019-08-16 22:19:57 +00:00
|
|
|
username=golem
|
|
|
|
password=guess
|
|
|
|
|
2023-01-08 21:35:37 +00:00
|
|
|
## Build
|
|
|
|
Download the build container:
|
|
|
|
```
|
|
|
|
docker pull git.golem.linux.it/golem/gestionale-build
|
|
|
|
```
|
|
|
|
|
|
|
|
Or, if you prefer, you can also build it by yourself:
|
|
|
|
```
|
|
|
|
script/setup
|
|
|
|
```
|
2019-08-16 16:44:57 +00:00
|
|
|
|
2023-01-08 21:35:37 +00:00
|
|
|
Then, run all the commands in the build container, simply by preceding them with `docker`.
|
|
|
|
Example:
|
2023-01-08 21:05:07 +00:00
|
|
|
```
|
2023-01-08 21:35:37 +00:00
|
|
|
./docker ls
|
2023-01-08 21:05:07 +00:00
|
|
|
```
|
2019-08-16 16:44:57 +00:00
|
|
|
|
2023-01-08 21:35:37 +00:00
|
|
|
Every command you'll ever need to build this software should be scripted inside the `script/` directory.
|
|
|
|
|
|
|
|
Example: compile everything and produce executable.
|
|
|
|
```
|
|
|
|
./docker script/build
|
|
|
|
```
|