Skip to content

Building your site

Devin edited this page Jun 8, 2020 · 4 revisions

Once you're happy with your changes, you can generate the HTML for all your pages by executing the following command:

bundle exec frontman build

This builds the entire site and places the generated HTML in a build/ folder at the root of your project.

To improve performance when building many pages, you can build your site in parallel with the --parallel option.

bundle exec frontman build --parallel

Please note that building your pages in parallel only improves performance when you have a lot of pages to build. It can actually be slower if your site is not very big. You can build your site both in parallel and synchronous to find out which works best for your site.

By default, Frontman doesn't generate your assets (e.g., images, CSS, JavaScript). You can add an external assets pipeline to Frontman so it generates the assets when building the site.

Once you've built your pages and assets, they are ready for deployment to the platform of choice.

Clone this wiki locally