/me: Pablo Iranzo Gómez ( https://iranzo.github.io )
Empty your mind, be shapeless, formless, like water. Now you put water in a cup, it becomes the cup, you put water into a bottle, it becomes the bottle You put water in a teacup, it becomes the teapot Now water can flow or it can crash. Be water my friend
Note: Automation: Be lazy, have someone else doing it for you.
Both provide a ‘static’ webserver to be used for your projects for free.
G(H/L) serve from a branch in your repo (usually ‘yourusername.github.io’ repo)
You can buy a domain and point it to your website.
There are many ‘static’ content generators that provide rich features:
Importance of language is for developing ‘plugins’, not content.
They ‘render’ markdown into html
Think about endless possibilities!!!
Note: We’ve all the pieces to push a new markdown file and have it triggering a website update and publish
** DEMO on Pelican + Theme **
Automation for projects:
Example (setup environment)
language: python dist: trusty sudo: required python: - '3.5' before_install: - pip install -U pip - pip install -U setuptools - pip install -r tests/requirements.txt - pip install -r tests/test-requirements.txt - pip install peru - mkdir -p tests/themes/elegant - mv templates tests/themes/elegant/ - mv static tests/themes/elegant/ - cd tests && peru sync
Ok, automation is ready, our project validates commits, PR’s, website generation…
Quay and DockerHub allow to automate build on branch commit
On each commit, a new container will be built
Fork to your repo and get: - minimal setup steps (github token, travis-ci activation) - Automated setup of Pelican + Elegant theme via travis-ci job that builds on each commit. - Ready to be submitted to search engines via sitemap, and web claiming