Configure project or create from template
template
(optional) - Template name to create project fromFlag | Description | Default |
---|---|---|
--name | Project name (for template creation) | template name |
--force | Overwrite existing directory | false |
lc init --interactive
, allowing you to:
lc init
before running lc setup
without arguments.Template | Description | Services |
---|---|---|
chat | ChatGPT-like interface with conversation history | Ollama, PostgreSQL, Redis |
code-assistant | AI-powered code editor and assistant | Ollama, PostgreSQL, Redis, MinIO |
transcribe | Audio/video transcription service | Whisper, PostgreSQL, MinIO |
image-gen | AI image generation interface | Stable Diffusion, PostgreSQL, MinIO |
api-only | REST API without frontend | Ollama, PostgreSQL, Redis |
setup
performs these steps:
--skip-docker
)qwen2.5:3b
- Fast and efficientphi3
- Microsoft’s compact modelgemma2:2b
- Google’s tiny modelllama2
- Meta’s popular modelmistral
- Great for codingcodellama
- Specialized for codemixtral:8x7b
- Powerful MoE modelllama3:70b
- Large language modelqwen2.5:32b
- Advanced reasoninglc init
lc templates list
to see available templates
--port
flag to specify a different port
{{.ProjectName}}
- Project name{{.APIPort}}
- API port number{{.FrontendPort}}
- Frontend port{{.ModelName}}
- Selected AI model{{.DatabaseURL}}
- PostgreSQL connection string{{.RedisURL}}
- Redis connection string.env
file includes:
lc init
- Initialize a projectlc templates
- List available templateslc start
- Start serviceslc component add
- Add components to existing project