Coder Social home page Coder Social logo

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 [email protected]: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.

Tessa Alexander's Projects

ctm icon ctm

Check The Map - Django, PostgreSQL, NGINX, Redis site

django-pdf icon django-pdf

Manage uploaded documents (pdfs) with backend cloud processing of the pdfs into individual pngs per page

html5lib-python icon html5lib-python

Standards-compliant library for parsing and serializing HTML documents and fragments in Python

jquery-ui icon jquery-ui

The official jQuery user interface library.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.