jonmann20.github.io

My personal website.

Setup

  • npm i
  • npm i -g gulp
  • git checkout dev (will already be the default branch)
  • git worktree add dist master
  • If the dist folder is removed you will need to run git worktree prune and then re-add to get things working again.

Develop

  • Develop in ./
  • gulp
  • cd ./ && git add -A && git commit -m "" && git push origin dev

Test

  • gulp lint
  • (just styles) npm run lint
  • npm run test (must have server running in another tab)
  • gulp prd
    • compiles to ./dist
  • gulp srv

Deploy

  • gulp prd
  • cd dist && git add . && git commit -m "" && git push origin master