Categories
Blog

WordPress Blog

Installation of this blog.

Test

I want to start a blog to note down some development stuff I do, therefore I want to test, if Wordpress might be a good choice to quickly and easily setup an own blog.

Testing Wordpress is pretty easy if you can use Docker.
There is a good documentation how you can do this.
In short: Only create one docker-compose file and start it up.

cd my_wordpress
nano docker-compose.yml
docker-compose up -d &
<pre class="CodeMirror" data-setting='{"showPanel":true,"languageLabel":"file","fullScreenButton":true,"copyButton":true,"mode":"yaml","mime":"text/x-yaml","theme":"material","lineNumbers":false,"styleActiveLine":false,"lineWrapping":false,"readOnly":true,"fileName":"docker-compose.yml","language":"YAML","maxHeight":"400px","modeName":"yaml"}'>version: '3.3' services: db: image: mysql:5.7 volumes: - db_data:/var/lib/mysql restart: always environment: MYSQL_ROOT_PASSWORD: somewordpress MYSQL_DATABASE: wordpress MYSQL_USER: wordpress MYSQL_PASSWORD: wordpress wordpress: depends_on: - db image: wordpress:latest ports: - "8000:80" restart: always environment: WORDPRESS_DB_HOST: db:3306 WORDPRESS_DB_USER: wordpress WORDPRESS_DB_PASSWORD: wordpress WORDPRESS_DB_NAME: wordpress volumes: db_data: {}

Just open http://localhost:8000 to create a user and start testing Wordpress.

I tried the Code Syntax Block Plugin first, but then I was more satisfied with the CodeMirror Blocks Plugin.

Installation

Create sub-domain ingo.kaulbach.de, install Wordpress with CodeMirror Blocks Plugin, Sample Content deleted. Done :)

As last part of installation I added a "K" graphic from Icons8 as favicon.

Leave a Reply

Your email address will not be published. Required fields are marked *