Redesigned and redeveloped kingsleyraspe.co.uk, learning a thing (or 10) along the way!
cd ~/Sites/kingsleyraspe.co.uk/www/ gulp
- edit the SCSS
- edit the JS
- edit the HTML
- save any of the files
- minify html/css/js in
- preview changes in browser (using livereload)
- once happy
git add . git commit -m "message" git push origin master
- Using webhooks, server is notified of new pushed commit(s)
cd /var/www/kingsleyraspe.co.uk/httpdocs/ git pull origin master gulp --build
- minify js/css/html on the fly.
- server the minified version like a boss