Starting Krenalis
At this point, you've already:
and you should have, in the directory when Krenalis has been compiled, the following files:
Linux and macOS
├─ .env
└─ krenalis
Windows
├─ .env
└─ krenalis.exe
The .env file must already contain KRENALIS_KMS, the PostgreSQL settings, and the NATS settings.
Start Krenalis with the -init-db-if-empty option. On first startup, this initializes the PostgreSQL database by creating the required tables. If the database is already initialized, it has no effect.
Linux and macOS
./krenalis -init-db-if-empty
Windows
krenalis.exe -init-db-if-empty
After some seconds you should then get output similar to:
... INFO The Krenalis server has been started at 127.0.0.1:2022
├─ REST API: http://127.0.0.1:2022/v1/
└─ Event ingestion endpoint: http://127.0.0.1:2022/v1/events
> Admin console: http://127.0.0.1:2022/admin
You can then open the Admin console at the address indicated (in this case http://127.0.0.1:2022/admin).
Next step
Now you can proceed with creating your first workspace.