Is this Nethserver app helpful to you?
Please consider donating to
Genius Dynamics

Thank you kindly!

2024/09/08 19:31 · LayLow

AFFiNE

AFFiNE is a workspace with fully merged docs, whiteboards and databases

The AFFiNE app announcement

AFFiNE is a community application from the geniusd repository. Documentation and source can be found on Github. Please see the excerpt from the readme below.

README.md
This is a template module for [NethServer 8](https://github.com/NethServer/ns8-core).
To start a new module from it:
 
## Install
 
Instantiate the module with:
 
    add-module ghcr.io/geniusdynamics/affine:latest 1
 
The output of the command will return the instance name.
Output example:
 
    {"module_id": "affine1", "image_name": "affine", "image_url": "ghcr.io/geniusdynamics/affine:latest"}
 
## Configure
 
Let's assume that the mattermost instance is named `affine1`.
 
Launch `configure-module`, by setting the following parameters:
- `host`: a fully qualified domain name for the application
- `http2https`: enable or disable HTTP to HTTPS redirection (true/false)
- `lets_encrypt`: enable or disable Let's Encrypt certificate (true/false)
 
 
Example:
 
```
api-cli run configure-module --agent module/affine1 --data - <<EOF
{
  "host": "affine.domain.com",
  "http2https": true,
  "lets_encrypt": false
}
EOF
```
 
The above command will:
- start and configure the affine instance
- configure a virtual host for trafik to access the instance
 
## Get the configuration
You can retrieve the configuration with
 
```
api-cli run get-configuration --agent module/affine1
```
 
## Uninstall
 
To uninstall the instance:
 
    remove-module --no-preserve affine1
 
## Update
 
To Update the instance:
 
    api-cli run update-module --data '{"module_url":"ghcr.io/geniusdynamics/affine:latest","instances":["affine1"],"force":true}'

  • ns8/applications/affine.txt
  • Last modified: 7 months ago
  • by LayLow