Skip to content

Commit 37f7f2c

Browse files
authored
CLI nits (#19)
* Remove comment * Update CLI instructions copy * Add badges to README
1 parent 091f50a commit 37f7f2c

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# create-kernel-app
22

3+
<p align="left">
4+
<img alt="GitHub License" src="https://img.shields.io/github/license/onkernel/create-kernel-app">
5+
<a href="https://discord.gg/FBrveQRcud"><img src="https://img.shields.io/discord/1342243238748225556?logo=discord&logoColor=white&color=7289DA" alt="Discord"></a>
6+
<a href="https://x.com/juecd__"><img src="https://img.shields.io/twitter/follow/juecd__" alt="Follow @juecd__"></a>
7+
<a href="https://x.com/rfgarcia"><img src="https://img.shields.io/twitter/follow/rfgarcia" alt="Follow @rfgarcia"></a>
8+
</p>
9+
310
A CLI tool to create the scaffolding for a new Kernel applications. This tool helps you get started with building browser automation applications using Kernel's platform.
411

512
## Features

index.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,6 @@ function copyTemplateFiles(
297297
filter: (src, dest) => {
298298
const filename = path.basename(src);
299299
if (filename === '_gitignore') {
300-
console.log("Copying _gitignore");
301300
fs.copyFileSync(src, dest);
302301
// Rename it to .gitignore
303302
fs.renameSync(dest, path.join(path.dirname(dest), '.gitignore'));
@@ -368,16 +367,14 @@ function printNextSteps(
368367
🎉 Kernel app created successfully!
369368
370369
Next steps:
370+
brew install onkernel/tap/kernel
371371
cd ${appName}
372372
# Request early access for an API key: https://waitlist.onkernel.com/r/mZW2zz
373373
export KERNEL_API_KEY=<YOUR_API_KEY>
374-
${
375-
language === LANGUAGE_PYTHON
376-
? "uv venv && source .venv/bin/activate && uv sync"
377-
: ""
378-
}
379374
${deployCommand}
380375
${INVOKE_SAMPLES[language][template]}
376+
# Do this in a separate tab
377+
export KERNEL_API_KEY=<YOUR_API_KEY>
381378
kernel logs ${REGISTERED_APP_NAMES[language][template]} --follow
382379
`)
383380
);

0 commit comments

Comments
 (0)