You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/deploy.mdx
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ kernel deploy my_app.py --env MY_ENV_VAR=my_value # Can add multiple env vars de
32
32
## Deployment notes
33
33
34
34
- The `entrypoint_file_name` is the file name where you [defined](/apps/develop) your app.
35
+
-**The entrypoint file and dependency manifest (`package.json` for JS/TS, `pyproject.toml` for Python) must both be in the root directory of your project.**
35
36
- Include a `.gitignore` file to exclude dependency folders like `node_modules` and `.venv`.
36
37
- Kernel assumes the root directory contains at least this file structure:
Copy file name to clipboardExpand all lines: reference/cli/apps.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,10 @@ Deploy an app to Kernel from the current directory.
12
12
|`--env <ENV_VAR=VAL>`, `-e`| Adds environment variables to the app. May be specified multiple times. Optional. |
13
13
|`--env-file <file>`| Read environment variables from a .env file. May be specified multiple times. Optional. |
14
14
15
+
<Info>
16
+
The entrypoint file and dependency manifest (`package.json` for JS/TS, `pyproject.toml` for Python) must both be in the root directory of your project.
17
+
</Info>
18
+
15
19
## `kernel invoke <app_name> <action_name>`
16
20
Invoke a specific app action by its name. Generates an Invocation.
0 commit comments