WordPress theme that adheres to those classic blog conventions and hesitantly looks at the new trends.
Instructions to install Docker, nodejs, npm and Grunt on Fedora:
$ sudo dnf install docker nodejs npm $ sudo npm install -g grunt-cli
$ sudo systemctl start docker
Install build tools and dependencies:
$ npm install
The following two steps will create a Docker container with a complete LAMP stack and a WordPress blog running within it:
$ sudo docker build -t wordpress . $ sudo docker run -i -t -p 80:80 -v `pwd`/dist:/var/www/html/wordpress/wp-content/themes/hesitant wordpress
The blog is then accessible at http://localhost/wordpress in your browser.
The username is
admin and the password is
Continually build development version
This will start a local webserver, open the index page in your browser and
watch for file changes to livereload the browser page. The complete source code
of the theme can be found in the directory
dist/. Note that this requires the
Docker container to be running.
Build deployment version
This option won't start any development environment but only build a deployable version of the theme.
$ grunt build
This will build a deployment version of the WordPress theme. The result can be
found in the directory
dist/. This Grunt task has minification of CSS and JS
turned on and some additional cleaning, which the development task doesn't.
Build POT file
Attach to the Docker container and run the following command inside it:
$ php /var/www/html/wordpress/tools/i18n/makepot.php wp-theme /var/www/html/wordpress/wp-content/themes/hesitant/ /var/www/html/wordpress/wp-content/themes/hesitant/hesitant.pot
The POT file is accessible outside the Docker container at
Export the SQL tables
First attach to the Docker container and then run:
$ mysqldump -u root --password="" wordpress | sed 's$),($),\n($g' > db.sql