Ciro Santilli
🔗

How to develop Ciro Santilli's website before the cirodown migration | 🗖 nosplit | ↑ parent "Ciro Santilli's website" | 220

🔗
The website moved from Asciidoctor to Cirodown in 2020, making this section mostly useless. But hey, history!
🔗
Ciro's website is powered by GitHub Pages and Jekyll Asciidoc.
🔗
🔗
Build locally, watch for changes and rebuild automatically, and start a local server with:
🔗
git clone --recursive https://github.com/cirosantilli/cirosantilli.github.io
cd cirosantilli.github.io
bundle install
npm install
./run
🔗
Source: run
🔗
The website will be visible at: http://localhost:4000.
🔗
Tested on the latest Ubuntu.
🔗
Publish changes to GitHub Pages:
🔗
git add -u
git commit -m 'make yourself look sillier'
./publish
🔗
Source: publish
🔗
GitHub forces us to use the master branch for the build output... so the actual source is in the branch dev.
🔗
Update the gems with:
🔗
bundle update
git add Gemfile.lock
git commit -m 'update gems'
🔗
His website was originally written in Markdown, however those were deprecated in favour of Asciidoctor when Ciro saw the light, rationale shown at: markdown-style-guide#use-asciidoc
🔗
🔗