kine-valfleury

kine-valfleury

Simple website for a physiotherapy practice, also used as a playground to rampup on Bootstrap, Jekyll, SEO

Simple website for a physiotherapy practice.

Used as a playground for:

  • building a one page layout using bootstrap

  • scripted Amazon S3 deployment

  • using Jekyll to:

    • reduce maintenance on multilingual aspects (see also here)
    • "compress" (minify) the html
    • explore some other features Jekyll features along the way (constraint, no)
  • checking how to achieve pagespeed optimizations and google search console recommendations with the above, for mobile & pc usage

Prerequisites

** install Yarn ** yarn add bootstrap@next

For the generic approach, see (how to use bootstrap4 with jekyll from scratch)

Generate

From the repository:

  • Run bundle exec jekyll build to generate _site folder containing the files to deploy (the website itself)

Deploy

  • Run deploy.sh to:
    • gzip the resources (js, css)
    • upload to target Amazon S3 bucket with appropriate http headers with which they will be served (cache-control, content-enconding, content-type)

Misc

  • bundle exec jekyll clean to clean the site
  • bundle exec jekyll serve --incremental to test locally (http://localshot:4000)
  • bundle update to update all dependencies