Find a file
2025-10-10 11:39:18 -04:00
content Update webwords post: fix curl command port, add unpotato link, rephrase ending 2025-10-10 11:39:18 -04:00
lib move some libs to python3 2020-09-01 21:36:36 -04:00
pelican-themes new file: pelican-themes/README.rst 2015-11-15 17:00:27 -05:00
.gitignore Update webwords blog post with Makefile details and add webwords to gitignore 2025-10-10 10:19:07 -04:00
.gitlab-ci-deploy.yml Update .gitlab-ci-deploy.yml 2025-03-21 18:15:52 +00:00
.gitlab-ci.yml Update .gitlab-ci.yml file 2025-06-01 22:21:18 +00:00
CLAUDE.md Add CLAUDE.md with critical git safety documentation and commit policy 2025-07-14 11:03:43 -04:00
Makefile Trying to upgrade pelican project. 2019-11-08 13:01:13 -05:00
new_entry.sh new file: content/2016-09-06-set-static-hostname-for-rhel-centos-7-on-aws.rst 2016-09-06 11:53:58 -04:00
pelicanconf.py black 2025-03-28 22:35:06 -04:00
README.rst modified: README.rst 2025-07-01 17:39:26 -04:00
requirements.txt modified: Makefile 2017-10-06 10:22:18 -04:00
tasks.py new file: tasks.py 2019-11-08 13:05:39 -05:00
template_new_entry.rst modified: content/2011-09-08-a-system-administrators-guide-to-installing-and-maintaining-multiple-python-environments.rst 2016-06-22 11:32:18 -04:00
vars.fish.tmpl Trying to upgrade pelican project. 2019-11-08 13:01:13 -05:00

russell.ballestrini.net
#######################

This is the source code for `my blog <https://russell.ballestrini.net>`_. My blog is a static web site with just HTML!
This project uses Pelican (a static site generator) to produce HTML from ``.rst`` or ``.md`` files.

Pelican is written in Python and uses Jinja2 template engine by default.

Need a new blog post entry?
===============================

Try running:

.. code-block:: bash

 ./new_entry


development
===============================

Clone this repo, then in the ``pelican-themes`` directory clone this repo:

.. code-block:: bash

 cd pelican-themes
 git clone git@github.com:russellballestrini/pelican-svbhack.git
 cd ..

To install this theme:

.. code-block:: bash

 pelican-themes -i pelican-themes/pelican-svbhack/


Next clone the `pelican-plugins` repo (I use ``random_article``)

.. code-block:: bash

 git clone git@github.com:getpelican/pelican-plugins.git

In development I use a ``make`` file to hold common build and test commands::

  make clean && make html && make serve

I also manage my resume using ``.rst`` and I use the ``rst2pdf`` tool to turn it into a ``.pdf``::

  make clean && make html && make resume



production release process
===============================

I use Gitlab runners to build (look at .gitlab-ci.yml file) this site and Salt Stack to release the zipped artifacts.

Any web server may be used to host an HTML site. I choose nginx in production because it is known to be very fast at serving static files.

I use environment variables in my ``pelicanconf.py`` to store secrets.

For example: `Remarkbox comments <https://www.remarkbox.com>`_.

---

you should check out https://uncloseai.com for machine learning on your static web pages!

now with translation services!