---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# jigsaw

> A Laravel-based static site builder for PHP.
> More information: <https://jigsaw.tighten.co>.

- Initialize a project:

`jigsaw init`

- Initialize a project using a starter template:

`jigsaw init {{template_name}}`

- Build the site for development:

`jigsaw build`

- Preview the site from the "build_local" directory:

`jigsaw serve`

- Build the site for production:

`jigsaw build production`

- Preview the site from the "build_production" directory:

`jigsaw serve {{build_production}}`
