asset-web / asset-web.github.io

Site for Tessa Alexander

Home Page:https://assetweb.co.uk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tessa Alexander - asset-web.co.uk

Migrating static one homepage to Jekyll site to be hosted on GitHub pages and deployed using Travis CI.

Build and test status GitHub pages backup deployment

Development

Set up development site

git clone git@github.com:asset-web/asset-web.git
cd asset-web/

NB: Requires docker and docker compose to be installed locally

Run tests locally

docker build . -t web
docker run --rm web
docker compose build
docker compose up -d 
docker compose exec web /src/script/buildtest  # Run tests locally
docker compose up -d
docker compose exec web bundle update --bundler
docker compose exec web bundle update jekyll

Example Jekyll development commands

  • Create new site with default theme

     jekyll new .
    
  • Serve development site

     bundle exec jekyll serve
    

Build, test and deploy

CI/CD jobs automate running the script/buildtest script which generates the site using Jekyll static site generator. HTML validation and link checking is run against this output. Upon successfully merging a pull requests/commits to master the static website is deployed to a remote server hosted on an app on Digital Ocean.

About

Site for Tessa Alexander

https://assetweb.co.uk


Languages

Language:HTML 76.3%Language:Ruby 13.9%Language:Dockerfile 5.0%Language:Shell 4.8%