centre-for-documentary-architecture / documentary-architecture

CDA Centre for Documentary Architecture
https://documentary-architecture.org
4 stars 1 forks source link
architecture archive bauhaus bauhaus100 database kirby research svelte

CDA Archive Website

Stack

Development

Install

git clone --recursive -–depth 1 https://github.com/moritzebeling/documentary-architecture.org.git
cd documentary-architecture.org

# to install sass
npm install -g sass

# to install svelte
cd site/plugins/framework/assets
npm install

Update modules

git submodule foreach git pull origin master

Run

# php server
php -S localhost:8000 kirby/router.php

# compile sass on save
sass --watch --style=compressed assets/scss:assets/css

# svelte
cd assets/frontend/app
npm run dev

Deploy

Before deploy, compile svelte frontend

npm run build

Used tools

Web APIs

The website offeres some public APIs

http://localhost:8000/i/liebling-house/worlditems.json