To create your first Mosaic site, we have created a command line generator that scaffolds a standard site.

A standard site offers

  • an out the box, working site, which showcases local and remote content sources
  • a minimal set of files that can be configured with your own components, themes, layouts, sources and plugins
  • an update path that enables you to update Mosaic, independently of your own configuration

Install the Mosaic create site script.

Create a directory for your site and run the mosaic-create-site script.

Define the environment variable, which enables us to access your remote repo.

The MOSAIC_DOCS_CLONE_CREDENTIALS environment variable is composed of your git username and your PAT token. Follow these docs to see how to create your own PAT token.

Your site is ready to run.

In your browser load http://localhost:3000

Congratulations, you have created your first Mosaic site.

Mosaic BETA

Coming soon