Skip to content

Conversation

rozek
Copy link

@rozek rozek commented Mar 20, 2025

According to the docs, npx kaiban init should not start the Kaiban server - it should just initialized the system and then allow users to enter their credentials into a .env file.

Additionally, you probably don't want to commit changes within the .kaiban folder...

@davidxll
Copy link
Contributor

You're right @rozek, it's not just a separation of concerns, but also the app wouldn't be functional when it first runs!
On the other hand, it's cool and flashy to have something up and running with a minimal setup.

I wonder how hard would it be to use the settings component of the playground. So, if no environmental variable is found, you are prompted to copy-pasta your key for a one time run in your local

Screenshot 2025-04-28 at 22 36 04

in any case, instead of commenting // runKaibanServer();, you should prompt or inform the user that the app is ready to go once configured

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants