forked from ConorB/CorncrakeCI
This branch is 217 commits behind ConorB/CorncrakeCI:dev
Signed-off-by: Olivier 'reivilibre <git.contact@librepush.net> After this, `nix run` can be used to try out MOLCI. Can also `nix build` or include it in your NixOS system configuration. Reviewed-on: Captain_Orb/MolCI#119 Reviewed-by: Conor <conor@conordev.com> Co-authored-by: Olivier 'reivilibre <git.contact@librepush.net> Co-committed-by: Olivier 'reivilibre <git.contact@librepush.net>
Test improvements: only load
.env.test and don't show logging for passing tests (it's too noisy) (#56)
MolCI
About
MolCI is an in-progress self-hosted CI system.
Prerequisites
- Docker
- Node.js
pnpmpackage manager
Compiling and running code
-
Clone the repository:
-
Rename
.env.sampleto.envin /server and fill in the database credentials, OAuth secrets and encryption key in that file.Could use
openssl rand -hex 32to generate an encryption key -
Inside /server directory, run:
pnpm installthen
pnpm generatethen
docker compose up --build -
In another terminal inside /server directory, run:
pnpm run dev
Languages
TypeScript
95.3%
TypeSpec
2.5%
Nix
1.9%
Dockerfile
0.3%