.Net Core Marten and Postgres

Install and configure postgresql sudo apt install postgresql-9.6 ... Creating new cluster 9.6/main ... config /etc/postgresql/9.6/main data /var/lib/postgresql/9.6/main locale en_US.UTF-8 socket /var/run/postgresql port 5432 ... Test if the database is working sudo su - postgres postgres$ psql psql (9.6.4) Type "help" for help. postgres=# \q exit Create two users in postgresql: one equal to the current interactive user for pgAdmin3 the other for marten. sudo -u postgres -i # this must be same as the current interactive user createuser --interactive zap Shall the new role be a superuser? [Read More]

Hugo on Kindle Fire Hd

Using termux on a Kindle Fire HD to manage a hugo site

On a Kindle Fire HD we are going to install everything we need to update our hugo site.

Install termux

Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required. A minimal base system is installed automatically - additional packages are available using the APT package manager.

[Read More]

Migrate Wordpress to Hugo

Migration of old sites and articles to Hugo

Jekyll Exporter (github page) is a plugin that will export everything from WordPress to Jekyll. There is also WordPress to Hugo Exporter but I choose the one for jekyll because the plugin is already available in the WordPress plugins. A good amount of work is still needed to fix the results so I didn’t bother. Change wordpress site URL The old site url is not available. I created a new CNAME in the DNS. [Read More]