Skip to content

bonfirelink/websites

Repository files navigation

bonfire.link websites monorepo

This repository contains all bonfire.link branded websites.

structure

All site subdirectories live under sites/. They rely on Hugo as the static site generator and Webpack as the asset pipeline.

sites
├── landing
├── ...

An additional .common/ subdirectory exists under sites/, exclusively containing files shared among sites. These files are made available to sites via symlinking.

development

Before getting started, you will need:

First, to clone this repo, run:

git clone [email protected]:bonfirelink/websites.git

Once cloned, make sure you have the right version of node installed with nvm:

nvm use

You can now list all available sites running:

make list

To install all packages for the site you want to work on, run:

make install site=<site>

To start the site locally, run:

make start site=<site>

Or to start multiple sites, specify different port values:

PORT=3001 make start site=<site>

To build a static version of the site inside the site's dist/ subdirectory, run:

make build site=<site>

digging deeper

You can read more details and options about starting and building sites in their respective README.md file.