tldr/pages/common/jigsaw.md

29 lines
507 B
Markdown
Raw Normal View History

2019-06-25 09:50:55 +01:00
# jigsaw
> A Laravel-based static site builder for PHP.
> More information: <https://jigsaw.tighten.co>.
2022-06-27 11:23:12 +01:00
- Initialize a project:
2019-06-25 09:50:55 +01:00
`jigsaw init`
2022-06-27 11:23:12 +01:00
- Initialize a project using a starter template:
2019-06-25 09:50:55 +01:00
`jigsaw init {{template_name}}`
2019-06-25 09:50:55 +01:00
- 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}}`