portfolio/README.md
2025-08-29 11:16:43 +02:00

36 lines
769 B
Markdown

# Portfolio
`gulp serve`
or
`node_modules/.bin/gulp serve`
or
`node_modules/.bin/gulp jsonld` (to only flatten jsonld and run pagerank)
Generate thumbnails: (TODO: gulpify this)
```bash
convert -define jpeg:size=200x200 assets/image/* -thumbnail 100x100^ -gravity center -extent 100x100 -set filename:f 'assets/thumb/%t.%e' +adjoin '%[filename:f]'
```
After edit of src/js/d3.bundle.js run:
``` bash
rollup -c
```
```bash
rsync -av . rubenvandeven.com:/home/ruben/hosts/new/www/ --exclude=node_modules --exclude=package-lock.json --exclude=.git --exclude=venv --copy-links --info=progress2
```
# deploy
On server do a `git pull` in the matching directory. Deploy keys should be set up in gitea/forgejo.
# TODO
- minify D3.js with selective components