From 87586f73fc5741070466d189dfab807a190753e5 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 31 Mar 2021 19:41:58 +0200 Subject: add potential to generate custom headers and custom pages --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 9e8cca6..c1411c8 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,19 @@ yarn demo To programmatically create pages, modify `cli/commands/site/populate.py` +## Customizing builds + +If the functionality of the live site needs to change, make a new router and go from there. See `frontend/site/projects/museum/app.js` for an example. + +``` +# Building the museum site (development) +yarn build:museum:dev + +# Building the museum site (production) +yarn build:museum:production +rsync -rlptuvz ./exports/last-museum/ lens@garden:swimmer/data_store/exports/last-museum/ +``` + ## Deploying a site A hypothetical rsync command: -- cgit v1.2.3-70-g09d2