summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-03-31 19:41:58 +0200
committerJules Laplace <julescarbon@gmail.com>2021-03-31 19:41:58 +0200
commit87586f73fc5741070466d189dfab807a190753e5 (patch)
tree33fefbcb3478c8eb35896b7c08cde27c2ca0b1c9 /README.md
parentcda9c115283be8e4e224f6036ba07e5eca243289 (diff)
add potential to generate custom headers and custom pages
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
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: