diff options
author | David Runge <dave@sleepmap.de> | 2016-09-25 22:29:11 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2016-09-25 22:29:11 +0200 |
commit | 3da2dbd979ab2f7c2edfdf19c0d5888866b4c987 (patch) | |
tree | 560006558b4933b1c8bc23050f90d0a86c4412af /content/blog | |
parent | 02d346a522d7f8199a80a5bd0b17534d04a3f65f (diff) | |
download | sleepmap-3da2dbd979ab2f7c2edfdf19c0d5888866b4c987.tar.gz sleepmap-3da2dbd979ab2f7c2edfdf19c0d5888866b4c987.tar.bz2 sleepmap-3da2dbd979ab2f7c2edfdf19c0d5888866b4c987.tar.xz sleepmap-3da2dbd979ab2f7c2edfdf19c0d5888866b4c987.zip |
content/blog/201501-publishing-with-pelican.rst: Moving to rst.
Diffstat (limited to 'content/blog')
-rw-r--r-- | content/blog/201501-publishing-with-pelican.rst | 83 | ||||
-rw-r--r-- | content/blog/publishing-with-pelican.md | 25 |
2 files changed, 83 insertions, 25 deletions
diff --git a/content/blog/201501-publishing-with-pelican.rst b/content/blog/201501-publishing-with-pelican.rst new file mode 100644 index 0000000..0aaf266 --- /dev/null +++ b/content/blog/201501-publishing-with-pelican.rst @@ -0,0 +1,83 @@ +Publishing with Pelican +####################### + +:date: 2015-01-27 06:00 +:modified: 2015-01-26 21:30 +:tags: pelican, nginx, networksec, frqrec, social media, vim +:slug: publishing-with-pelican +:category: webdev +:summary: Some links and information on publishing with Pelican +:authors: David Runge + +| I haven't done serious web development work in quite some time. There are reasons for that. +| Mostly because I have been busy being a |sys_admin| instead... +| +| A reason for now doing this kind of work for myself again, is my departure from a lot of social media websites like Facebook (no, no link here). +| The reasons for that are quite obvious, apart from the general evilness of large companies, agencies and governments alike (especially when looking at the developments in European and US-American politics in the past few months, or rather years). +| +| After some changes in my hosting plans (moving away from |hosteurope| to |nwsec|, but more on that soon), this also involved dividing private content from that of the association (|frqrec|) I am working with. +| +| Ultimately this led me to the decision to find a publishing tool that was not depending on a database setup (like |wordpress| is), but rather something text file based (also because I am a daily |vim| user). +| Say hello to |pelican|, a Python based static website generator! +| With Pelican one can write content in |markdown| or |restructuredtext| and have simple |pelican-themes|) and the site generator take care of the rest. Pretty awesome! A separate |makefile| (besides the easy possibility of local testing) makes it possible to push a new website version directly to the webserver or other destinations. +| Currently I've started work on some static pages and my own theme, cloned from the |notmyidea-theme|. Now my whole website can be conveniently developed in my own |website-git| repository. +| +| Although for newbie users a login backend for administering a website (like the one Wordpress offers) is a very easy solution, it also introduces security issues (bad passwords, hacked computers & malware, PHP bugs, bad content, bad plugins, etc.). +| I'm glad I've found a very lightweight and fast solution in Pelican, that works well with |nginx|. + + +.. |sys_admin| raw:: html + + <a href="http://www.math.tu-berlin.de/iuk/lehrrechnerbereich" target="_blank">sys admin</a> + +.. |hosteurope| raw:: html + + <a href="https://www.hosteurope.de/" target="_blank">Hosteurope</a> + +.. |nwsec| raw:: html + + <a href="https://networksec.de" target="_blank">NetworkSEC</a> + +.. |frqrec| raw:: html + + <a href="http://frqrec.de" target="_blank">Freakquenzy Records</a> + +.. |wordpress| raw:: html + + <a href="http://www.wordpress.org/" target="_blank">Wordpress</a> + +.. |vim| raw:: html + + <a href="http://www.vim.org/" target="_blank">Vim</a> + +.. |pelican| raw:: html + + <a href="http://blog.getpelican.com/" target="_blank">Pelican</a> + +.. |markdown| raw:: html + + <a href="https://en.wikipedia.org/wiki/Markdown" target="_blank">Markdown</a> + +.. |restructuredtext| raw:: html + + <a href="https://en.wikipedia.org/wiki/ReStructuredText" target="_blank">ReStructuredText</a> + +.. |pelican-themes| raw:: html + + <a href="http://pelican-themes-gallery.place.org/" target="_blank">themes</a> + +.. |makefile| raw:: html + + <a href="https://en.wikipedia.org/wiki/Makefile" target="_blank">Makefile</a> + +.. |notmyidea-theme| raw:: html + + <a href="https://github.com/getpelican/pelican-themes/tree/master/notmyidea-cms" target="_blank">notmyidea cms theme</a> + +.. |website-git| raw:: html + + <a href="https://git.sleepmap.de/websites/sleepmap.git/" target="_blank">git</a> + +.. |nginx| raw:: html + + <a href="https://nginx.org/" target="_blank">nginx</a> diff --git a/content/blog/publishing-with-pelican.md b/content/blog/publishing-with-pelican.md deleted file mode 100644 index f3392b3..0000000 --- a/content/blog/publishing-with-pelican.md +++ /dev/null @@ -1,25 +0,0 @@ -Title: Publishing with Pelican -Date: 2015-01-27 06:00 -Modified: 2015-01-26 21:30 -Tags: pelican, nginx, networksec, frqrec, social media, vim -Slug: publishing-with-pelican -Category: webdev -Authors: David Runge -Summary: Some links and information on publishing with Pelican - -I haven't done serious web development work in quite some time. There are reasons for that. -Mostly because I have been busy being a [sys admin](http://www.math.tu-berlin.de/iuk/lehrrechnerbereich) instead... - -A reason for now doing this kind of work for myself again, is my departure from a lot of social media websites like Facebook (no, no link here). The reasons for that are quite obvious, apart from the general evilness of large companies, agencies and governments alike (especially when looking at the developments in European and US-American politics in the past few months, or rather years). - -After some changes in my hosting plans (moving away from [Hosteurope](https://www.hosteurope.de/) to [NetworkSEC](http://networksec.de), but more on that soon), -this also involved dividing private content from that of the association ([Freakquenzy Records e.V.](http://frqrec.de)) I am working with. - -Ultimately this led me to the decision to find a publishing tool that was not depending on a database setup (like [Wordpress](http://wordpress.org) is), but rather something text file based (also because I am a daily [Vim](http://www.vim.org/) user). -Say hello to [Pelican](http://blog.getpelican.com/), a Python based static website generator! -With Pelican one can write content in [Markdown](http://daringfireball.net/projects/markdown/) and have simple [themes](http://pelican-themes-gallery.place.org/) and the site generator take care of the rest. Pretty awesome! A separate [Makefile](https://en.wikipedia.org/wiki/Makefile) (besides the easy possibility of local testing) makes it possible to push a new website version directly to the webserver or other destinations. -Currently I've started work on some static pages and my own theme, cloned from the [notmyidea-cms theme](https://github.com/getpelican/pelican-themes/tree/master/notmyidea-cms). Now my whole website can be conveniently developed in my own [git repository](https://git.sleepmap.de/sleepmap/). - -Although for newbie users a login backend for administering a website (like the one Wordpress offers) is a very easy solution, it also introduces security issues (bad passwords, hacked computers & malware, PHP bugs, bad content, bad plugins, etc.). -I'm glad I've found a very lightweight and fast solution in Pelican, that works well with [nginx](http://nginx.org/). - |