1
0
mirror of https://github.com/CPunch/Laika.git synced 2024-11-22 04:50:06 +00:00

Updated CNC setup (markdown)

cpunk 2022-09-20 13:29:02 -05:00
parent b4ced02fdf
commit e49161bbaa

@ -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