🙌🏻 | Relago support portal [maintainer=@lambdajon]
- Haskell 66.3%
- Nix 27.3%
- CSS 2.2%
- Shell 1.6%
- TypeScript 1.4%
- Other 1.2%
|
Asliddin Abdivasiyev
56d41c1ae8
refactor(server): resolve compiler warnings ( #22 )
- remove unused imports - remove unused variables - use putStr instead of print for strings - fill JournalEntry missing fields Reviewed-on: https://git.oss.uzinfocom.uz/xinux/relago-support/pulls/22 |
||
|---|---|---|
| .forgejo/workflows | dream2nix ( #15 ) | |
| client | fix: removed heads ( #8 ) | |
| infra | add: postgresql | |
| server | refactor(server): resolve compiler warnings ( #22 ) | |
| .editorconfig | editor config | |
| .envrc | setup flakes | |
| .gitignore | add: postgresql | |
| CHANGELOG.md | setup flakes | |
| flake.lock | dream2nix ( #15 ) | |
| flake.nix | dream2nix ( #15 ) | |
| LICENSE | setup flakes | |
| README.md | space | |
| shell.nix | dream2nix ( #15 ) | |
| treefmt.toml | setup flakes | |
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