@@ -10,51 +10,35 @@ a page needs it.
1010
1111## Build your first site
1212
13- Create a complete project from a template :
13+ Open PureStack Studio, the local site wizard :
1414
1515``` sh
16- npx purestack@latest init my-site --install --yes
17- cd my-site
18- yarn dev
16+ npx purestack@latest init
1917```
2018
21- The ` starter ` template creates a small site with a home page, about page, and
22- browser TypeScript example. Run ` npx purestack@latest init ` to serve the wizard's
23- PureStack content and print its local URL. Configure site details, choose a
24- template and its settings, and create your project with animated progress.
25- Use ** Browse live site** to open the running project. Studio stays open, and
26- source edits reload the live site. ** Finish Studio** stops both local servers.
27- Use ` --yes ` to create projects directly without opening Studio.
19+ Studio prints a link to open in your browser. Configure your site's details,
20+ choose a template and its settings, decide whether to install dependencies and
21+ set up Git, then create the project and follow its progress. Use
22+ ** Browse live site** to open the running project. Studio stays open, and source
23+ edits reload the live site. ** Finish Studio** stops both local servers.
2824
29- Studio defaults to ` 127.0.0.1 ` and an automatically assigned port. Use
30- ` init --host 127.0.0.1 --port 4700 ` to choose its listener. Server logging starts
31- at warning level; creation progress and next steps remain visible.
32- The wizard is built completely at startup and served with file watching and
33- live reload disabled .
25+ The ` starter ` template creates a site with a home page, about page, and
26+ customization guide. Template files become your project's source, and
27+ ` AGENTS.md ` explains customization and validation. Generated starter projects
28+ provide ` yarn dev ` , ` yarn build ` , and ` yarn publish ` ; the latter prepares
29+ ` dist/publish ` for deployment without uploading anything .
3430
35- ` --install ` installs dependencies with the template's package manager (Yarn for
36- starter), and ` --git ` initializes a repository.
37- Both actions are opt-in. ` --yes ` uses defaults for omitted answers without prompts:
31+ Studio listens on ` 127.0.0.1 ` with an automatically assigned port. Command-line
32+ options can preset its choices, for example a folder, template, and options:
3833
3934``` sh
40- npx purestack@latest init my-site --template starter --git --yes
41- npx purestack@latest init my-site --template starter --yes
35+ npx purestack@latest init my-site --template starter --set palette=mint
4236```
4337
44- You can use an explicit template release, such as ` --template starter@1.1.19 ` ,
45- a full npm package name, or a local package folder or ` .tgz ` path. Run
46- ` npx purestack@latest init --help ` for all options, including ` --title ` .
47- The destination must be absent or empty. Template files become your project's
48- source, and ` AGENTS.md ` explains customization and validation.
49-
50- Generated starter projects provide ` yarn dev ` , ` yarn build ` , and ` yarn publish ` .
51- The latter prepares ` dist/publish ` for deployment without uploading anything.
52-
53- Use ` --set palette=mint --set search=false ` to configure template-defined options
54- without opening menus. Categories, fields, choices, defaults, and configuration
55- bindings come from the template's ` template.ui.json ` . Unspecified values use its
56- declared defaults. Creation output uses colored Unicode frames and honors
57- ` NO_COLOR ` . The browser wizard uses PureStack's existing development server.
38+ Templates can be official aliases, explicit releases such as ` starter@1.1.20 ` ,
39+ npm package names, or local folders and ` .tgz ` archives. Run
40+ ` npx purestack@latest init --help ` for every option, including ` --yes ` , which
41+ creates a site without Studio for scripts and CI.
5842
5943### Create a site manually
6044
0 commit comments