# first time
npm install -g gulp typings bower
npm install
# every time
gulp --gulpfile gulpfile.transpile.js watch
gulp watch
- typescript - javascript type support
- gulp - automated build system
# build static site
docker-compose build && \
docker-compose up --force-recreate
# test website using nginx - localhost/resume/
docker run -it --rm=true -v /$PWD/.tmp/production/dist/://usr/share/nginx/html/resume/:ro -p 80:80 nginx
# publish - note, very slow first time
npm run deploy
Chrome has always made the best looking PDFs - and thanks to athenapdf and docker we can generate these automatically :)
See pdf-generator
dir for details
- upgrade gulp-watch when next version is pushed. v4.3.5 crashes when deleting a directory.
v4.2.5
is working until then. - improve rendering performance
- custom fonts are very slow to load, partially due to them loading after images load.
- lots of images download on first request, mostly
.svg
icons; look into combining them into a spritesheet. See gulp-svg-sprite - async load javascript in parallel - order must be
lib.js
thenapp.js