First Try...

My first attempt at blogging...

A retry at blogging...

Well, here we are in the beginning of 2023 and it seems a reset again on the little personal projects i have been doing in the past.

I got the old code from subversion, made sure i had a virtual environment with the right versions of python, pyramid and the likes.

Then restarted the system, and of course the lack of a database was the first problem, but as I have been thinking and wanted to move to postgresql, i downloaded the software, installed and setup the postgresql server and added the database and the login name used in the code.

Next step was the connection string that SQLAlchemy needed, and for using postgresql we needed the postgresql driver.
After that was installed, and set up, just simple change of the connection string and the postgresql server up and running, the blog system burst to life.

But when started from an empty db, username for creating posts doesn't exist, so we are in the chicken and egg problem, and a manual add of the user and password to the database was needed and had to be done correctly with the encryption and salted password.

By using the same funtions, as small python scripts was done to create the password ash. Then just adding it into the db... et Voila'.