# The Last Museum Project for KW Berlin and other places. ## Updating the site ### Linking to assets - Local: ./data_store/media/last-museum/[artist]/[filename] - Embed: /static/media/last-museum/[artist]/[filename] ### Videos - size: cover - units: pixels For underlying videos: - units: video ### Pages - Custom components: `frontend/site/museum/views/` - Include these with routes: `frontend/site/museum/app/index.js` ### 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) yarn build:museum:dev # Deploying the Last Museum site (production) yarn build:museum:production rsync -rlptuvz ./data_store/exports/thelastmuseum/ lens@garden:swimmer/data_store/exports/thelastmuseum/ ``` ### Packaging a build ``` # Zipping the site on the server cd /home/lens/swimmer/data_store/exports zip -r ./thelastmuseum-YYYYMMDD.zip ./thelastmuseum ```