You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is basically your average Jekyll install with some html, markdown and Sass hackery.
I added some grunt tasks to save the latest git commit revision number and minify what little CSS there is.
With this I can link to each revision on Github from the site footer. and to minify the generated CSS.
I deploy it to AWS S3 and handle AWS Cloudfront using the awesome s3_website gem.
The above s3 gem is outdated. Last time I had to do the S3 upload and Cloudfront invalidation manually.
Development Environment
To start development just launch Jekyll from the command line.
cd {project_root}
cd site
jekyll serve
Saving Changes
Commit the changes in GIT and run the gulp tasks to save the git revision hash and minimise the CSS.
git commit -a
cd ../
grunt default
grunt saveRevision
cd site
jekyll build
Deploying the changes
git push origin master
# manually upload files to s3 and create a new invalidation (i.e. /*.html for just HTML files) in Cloudfront.
About
Personal web dev blog for blog.sub85.com. Some basic Jekyll and Sass hackery.