Find a file
russellballestrini c67df7eaee new file: content/2019-01-19-aws-nvme-to-block-mapping.rst
new file:   content/uploads/2019/ebsnvme-id
	new file:   content/uploads/2019/nvme-to-block-mapping
2019-01-19 16:13:12 -05:00
content new file: content/2019-01-19-aws-nvme-to-block-mapping.rst 2019-01-19 16:13:12 -05:00
lib modified: liblinkpeek.py 2017-11-18 13:30:51 -05:00
pelican-themes new file: pelican-themes/README.rst 2015-11-15 17:00:27 -05:00
.gitignore modified: .gitignore 2018-06-04 17:26:19 -04:00
.slashdeploy.yml Create .slashdeploy.yml 2018-04-03 06:42:06 -07:00
Makefile modified: Makefile 2017-10-06 10:22:18 -04: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 modified: pelicanconf.py 2017-10-08 12:52:34 -04:00
README.rst Update README.rst 2018-04-03 06:45:03 -07:00
requirements.txt modified: Makefile 2017-10-06 10:22:18 -04: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

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.

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 ..

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 `Jenkins to build this site and Salt Stack to release it <http://russell.ballestrini.net/securely-publish-jenkins-build-artifacts-on-salt-master/>`_

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:  `LinkPeek screenshots <https://linkpeek.com>`_ or `Remarkbox comments <https://www.remarkbox.com>`_.