Usage
This guide covers the standard development workflow for a Thulite project.
See Commands for full command details.
Create content
Add new pages with the create script. This command creates files in your content/ directory using your project’s archetypes.
Set draft: false in front matter when the page is ready to publish.
Start development server
Open your project folder in your editor and run the development server so your browser refreshes while you work.
When the server starts, open the local URL shown in your terminal (for example, http://localhost:1313/).
Format
Run the formatter before building or opening a pull request to keep Markdown, styles, and scripts consistent.
Build
Before deploying, stop the development server (Ctrl + C) and create a production build.
This generates deploy-ready output in public/ and surfaces build errors early.
Preview
Preview the built site locally to validate what will actually be deployed.
Preview uses your most recent build. If you make code changes after building, run the build command again before previewing.
To test on other devices in your local network (for example, a phone), use --host with preview:
Deploy
Once everything looks good in preview, deploy your site.
- Follow the deployment guides in Deploy overview.
- Use Verification to validate quality and output before production updates.