From e49161bbaa5cee9e9f2c53696a14f99733946ec6 Mon Sep 17 00:00:00 2001 From: cpunk Date: Tue, 20 Sep 2022 13:29:02 -0500 Subject: [PATCH] Updated CNC setup (markdown) --- CNC-setup.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CNC-setup.md b/CNC-setup.md index 6696383..ee98ac4 100644 --- a/CNC-setup.md +++ b/CNC-setup.md @@ -4,6 +4,14 @@ While testing, sometimes it's nice to try it in a more 'real' environment (or yo Make sure you have a unique, self-generated keypair. You can do that by following [this](Keypairs). +## Pass port && ip back to cmake + +This step can be combined with the compilation after you generated your keypair. Just set the `LAIKA_CNC_IP` and `LAIKA_CNC_PORT` configs in cmake, like so: + +```sh +cmake -B build -DLAKA_CNC_IP=127.0.0.1 -DLAIKA_CNC_PORT=13337 +```` + ## Make shell keypair This keypair is unique per 'admin' user. [Generate another keypair](Keypairs) and update shell.ini && server.ini