Git Product home page Git Product logo

pasztor.at's Introduction

Abstract

This is the Jekyll and architecture source code of the pasztor.at website.

Support me

If you want to support me in crazy endeavours like this, you can do so on

Patreon

(Click the image to go to my Patreon page.)

License

Text and images are protected by copyright, everything else is free for learning / copypasting.

Contents

Notable parts of this repository:

  • _ansible: contains the Ansible source code to deploy the CDN behind the website
  • _docker: contains the Docker containers running on the aforementioned CDN
  • _includes, _layouts, _plugins, _sass: Jekyll theme stuff
  • _posts: Blog posts and events for Jekyll
  • assets: Contains graphics and other assets for the site.
  • .build.sh: The Jekyll build script
  • .cssh.sh: Cluster SSH to all CDN nodes
  • .deploy.sh: rsync script to deploy the generated content
  • .dns.json: The Route53 DNS settings
  • .dns.sh: The script to deploy Route53 DNS settings
  • .optimize.sh: Script to optimize PNG images using optipng

About the CDN

The CDN is a collection of machines that receive requests based on latency via Amazon Route53. The theory behind it is described in this blog post. The CDN is deployed using Ansible.

Each node is running three servers: traefik to handle SSL and forward requests, nginx to serve the actual content and PHP-FPM to handle PHP requests. These nodes are run in separate Docker contaienrs using docker-compose.

Content is deployed using rsync after it is generated by Jekyll.

pasztor.at's People

Watchers

James Cloos avatar  avatar

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.