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