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

32 lines
658 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
```
# TODO
- minify D3.js with selective components