Showing posts with label python. Show all posts
Showing posts with label python. Show all posts

Tuesday, February 09, 2021

Wiki is Almost There

As you know, I have been trying to get my MoinMoin wiki back up an running. I have upgraded successfully to moin2 and even imported the pages from the previous moinmoin wiki successfully. Now I am tweaking things like security (it was wide open), need to add ssl instead of normal http and all the other normal things for "production" . Since this isn't my day job it is taking me a while to get it up and running but I am getting there. I have been taking copious notes (not really) about what I am doing to get it running correctly. I am awfully close to having it running nice an clean.

However, in the meantime it will spend more time down than up as I get it to where I want. I'm really close though and hopefully I can find time to nail it down. I'll be sure to post here when I do get it up and running. I will probably see if I can create a simple vm that takes up less resources on GCP so I can reduce costs. I can use that and the notes I take to create a tutorial that maybe people can use. We shall see.

Update

The wiki was succesfully upgraded to be accessed only by https and I believe I have the ACLs working correctly. Now I just have a few more production tweaks setting up the uwsgi emperor service.

Sunday, January 24, 2021

Upgrading my Wiki

My last post mentioned that my wiki was down. Well in the process of troubleshooting the issue I discovered a bunch of things that I didn't know. It's good to learn right?

So there are a couple of things that I discovered during this process the first of which is that Python2 reached end of life support January 2020. I knew that MoinMoin used python 2 but I hadn't realized that python2 is no longer supported at all. In addition PIP, the python package installer announced what yesterday that it no longer supported python2, so you can install it via method. And so the more I thought about it the more I realized that I definitely didn't want to be running my wiki on outdated software particularly if a security vulnerability in python2 was discovered.

Tuesday, December 01, 2020

Playing with Django

It has been quite a while, probably close to a decade, since I have played with Django. Motivated partially by watching my son Ken creating an app I decided to take a look at it again. I may look at moving my website away from Google Sites which is getting worse and worse website tool. Well that's not completely fair, it makes it really easy to create really simple sites that are not awful to look at and are accessible to multiple devices (cell, desktop, etc). It is also really nicely incorporates GSuite capabilities. Maybe because I am used to being able to tweak what I use more I feel really restricted by sites.

If I do move over to Django for my website the other question is what to do with this blog. Blogger is more that sufficient for my blogging purposes and ties nicely in with photos and youtube making some of the things we probably want to do with our website. But it would also be nice to have everything in one place.

Plus it is just fun to "develop" (cut and paste code) a web site.