Hello fellow Soylentils, I could use some of your insights and suggestions.
I am looking for a lean, mean, and safe open source solution that implements a small blog where I can rant and rave to my heart's delight to my two followers.
To set the scene, I am not looking for something big and/or unwieldy, which basically rules out the major platforms like Drupal, Joomla and Wordpress. The software is going to be self hosted on my existing web server, which already runs Linux with Apache2, MySQL, PHP, Perl, and PostgreSQL (LAMPPP?) on a Debian platform.
I would like the following features:
[Ed. addition follows.]
I am not familiar with the minimum resource requirements for running SoylentNews, but if it would not reasonably fit on a single RPi, maybe adding one or two more would suffice?
What suggestions do YOU have for our fellow Soylentil?
(Score: 2) by toddestan on Tuesday July 30 2019, @02:51AM (1 child)
I've played around Flask, which is a framework for writing web applications in Python. I know you didn't mention Python on your list, but I would have to assume your server has Python installed already.
The tutorial for Flask's on their website is actually a basic blogging application:
https://flask.palletsprojects.com/en/1.1.x/tutorial/#tutorial [palletsprojects.com]
When I first played around with it, I went through this excellent tutorial by Miguel Grinberg:
Which has you put together another very basic blog. His example relies a lot on third party components and services which I would be hesitant to put into production, but still good for learning.
Obviously you'd have to add and extend things to get everything you want. On the other hand, it'll be exactly as you built it.
I'd be a bit curious about the UTF-8 support. In theory if you use Python 3, it should just work. I've mostly used Python 2 and dealing with unicode and UTF-8 in Python 2 just plain sucks.
(Score: 2) by toddestan on Tuesday July 30 2019, @02:53AM
...and forgot the second link:
https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world [miguelgrinberg.com]
It pays to use preview!