summaryrefslogtreecommitdiff
path: root/README.museum.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.museum.md')
-rw-r--r--README.museum.md42
1 files changed, 31 insertions, 11 deletions
diff --git a/README.museum.md b/README.museum.md
index 6419890..2222a16 100644
--- a/README.museum.md
+++ b/README.museum.md
@@ -2,18 +2,38 @@
Project for KW Berlin and other places.
-## Linking to assets
+## Updating the site
+
+### Linking to assets
- Local: ./data_store/media/last-museum/[artist]/[filename]
- Embed: /static/media/last-museum/[artist]/[filename]
-## Pages
+### Videos
+
+- size: cover
+- units: pixels
+
+For underlying videos:
+
+- units: video
-- Custom components: frontend/site/museum/views/
+### Pages
-These should all have some documentation.
+- Custom components: `frontend/site/museum/views/`
+- Include these with routes: `frontend/site/museum/app/index.js`
-## Building the site
+### Adding a new artist
+
+- Update `constants.js` with the artist name, bio, etc
+- Font size might change for CSS: `.page-artists .artist-big-name`
+- Upload their cursors
+- Update `frontend/site/projects/museum/views/home.js`
+ - the line `history.push("/thelastmuseum/...")` should point at the new start page
+
+## Deployment
+
+### Building the site
```
# Building the Last Museum site (development)
@@ -24,10 +44,10 @@ yarn build:museum:production
rsync -rlptuvz ./data_store/exports/thelastmuseum/ lens@garden:swimmer/data_store/exports/thelastmuseum/
```
-## Adding a new artist
+### Packaging a build
-- Update constants.js with the artist name, bio, etc
-- Font size might change for CSS: `.page-artists .artist-big-name`
-- Upload their cursors
-- Update frontend/site/projects/museum/views/home.js
- - the line `history.push("/thelastmuseum/...")` should point at the new start page
+```
+# Zipping the site on the server
+cd /home/lens/swimmer/data_store/exports
+zip -r ./thelastmuseum-YYYYMMDD.zip ./thelastmuseum
+```