mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
[PR #513] [MERGED] Add a llamactl init functionality
#514
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/llama_deploy/pull/513
Author: @logan-markewich
Created: 5/26/2025
Status: ✅ Merged
Merged: 5/27/2025
Merged by: @logan-markewich
Base:
main← Head:logan/llamactl_init📝 Commits (10+)
c253313wipa71e956add basic template12f5812update template namingb89c43dupdate basic templatebec2426clean up basic template73dd20amake style better3b02347remove lockcbefd67add openai to basic demo2416f59final nit352256fremove chat template for now📊 Changes
28 files changed (+7957 additions, -26 deletions)
View changed files
📝
llama_deploy/apiserver/deployment_config_parser.py(+36 -9)📝
llama_deploy/cli/__init__.py(+2 -0)➕
llama_deploy/cli/init.py(+491 -0)📝
llama_deploy/control_plane/config.py(+4 -1)📝
llama_deploy/message_queues/apache_kafka.py(+1 -1)📝
llama_deploy/message_queues/aws.py(+3 -3)📝
llama_deploy/message_queues/rabbitmq.py(+1 -1)📝
llama_deploy/message_queues/redis.py(+1 -1)📝
llama_deploy/message_queues/simple/config.py(+8 -4)📝
llama_deploy/message_queues/solace.py(+1 -1)➕
templates/basic/src/__init__.py(+0 -0)➕
templates/basic/src/workflow.py(+28 -0)➕
templates/basic/ui/.gitignore(+41 -0)➕
templates/basic/ui/app/favicon.ico(+0 -0)➕
templates/basic/ui/app/globals.css(+26 -0)➕
templates/basic/ui/app/layout.tsx(+32 -0)➕
templates/basic/ui/app/page.tsx(+261 -0)➕
templates/basic/ui/eslint.config.mjs(+16 -0)➕
templates/basic/ui/next.config.ts(+10 -0)➕
templates/basic/ui/package-lock.json(+6731 -0)...and 8 more files
📄 Description
Allows a user to quickly bootstrap a deployment with/without UI.
Since all our config is pydantic objects, we can take advantage of that to make the generated
deployment.ymlfile self-documenting (this got a little more complicated than I expected, but I feel its worth it)Example CLI Usage
Example output app (added some styles)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.