mirror of
https://github.com/xinux-org/relago-support.git
synced 2026-04-21 07:07:54 +00:00
🙌🏻 | Relago support portal [maintainer=@lambdajon]
- Haskell 53.9%
- Nix 37.4%
- CSS 3.9%
- TypeScript 2.6%
- JavaScript 1.4%
- Other 0.8%
* wip: exchange keys api * wip: ignore vendor * wip: setup postgresql dev libs * wip: DB and app state modules, packages for postgresql persist and resouce pool * monad logger for running pools * wip: AppState as implicit param for storing db connection, config and some dependencies * Database pool type * wip: database connection * remove config constraint * database configurations * AppState is set instead of Config * prelude module * use prelude * chore: format code * fix: nix build with submodules * wip: opensearch connection * format code * wip: save report * wip: Basic exeption handling * Wip: migrate sql * wip: basic report table * wip: report db combinators * wip: save journal reports to db and save journal data to opensearch |
||
|---|---|---|
| client | ||
| server | ||
| .editorconfig | ||
| .envrc | ||
| .gitignore | ||
| .gitmodules | ||
| CHANGELOG.md | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
| shell.nix | ||
| treefmt.toml | ||
relago-support
Relago support portal
Usage
Here's how you can use/start/build projects
Server
We have many option of running server. Let's see them.
Configuration.nix
To run server in your config as service, you can import and enable it in your config.
# add input flake
inputs = {
relago-support.url = "github:xinux-org/relago-support";
};
# import into your config
imports = [ inputs.relago-support.nixosModules.server ];
# then enable it in service
services.relago-server = {
enable = true;
port = 42424; # optional. you can see more in server/module.nix file
};
Cabal run
You can run it via this command:
cd server
cabal run -- -c <path-to-config>.toml