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
feat(docs+cmd): document bootstrap feature, add template list (#456)
* chore(lk): show template tags in list
* chore(docs): add instructions for bootstrapping an app from template
* feat(cmd): add `lk app list-templates` and update README
* chore(cmd): show default project with '*'
* chore(cmd): bump package version
* chore(cmd): use vars and add util tests
* chore(cmd): prettify `lk app list-templates` output
See `lk --help` for a complete list of subcommands.
59
+
See `lk --help` for a complete list of subcommands. The `--help` flag can also be used on any subcommand for more information.
59
60
60
61
## Set up your project (new)
61
62
@@ -86,6 +87,24 @@ lk project list
86
87
lk project set-default <project_name>
87
88
```
88
89
90
+
## Bootstrapping an application
91
+
92
+
The LiveKit CLI can help you bootstrap applications from a number of convenient template repositories, using your project credentials to set up required environment variables and other configuration automatically. To create an application from a template, run the following:
93
+
94
+
```shell
95
+
lk app create --template <template_name> my-app
96
+
```
97
+
98
+
Then follow the CLI prompts to finish your setup.
99
+
100
+
For a list of all available templates, run:
101
+
102
+
```shell
103
+
lk app list-templates
104
+
```
105
+
106
+
See the [LiveKit Templates Index](https://github.com/livekit-examples/index?tab=readme-ov-file) for details about templates, and for instructions on how to contribute your own.
0 commit comments