This is the repository of the Valtech Wordpress theme.
- install docker
- run
./start.sh
- run
docker logs --follow wordpress-for-theme
- Look for IP into line
apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.7 for ServerName
- Navigate to this IP on your browser
- Follow final installation steps of wordpress
- Login with the admin account you created
- Activate the valtech theme
You should see the default wordpress page with the theme activated.
Any changes in /theme
will be visible in this url.
It uses foundation in order to be responsive out-of-the-box.
start.sh
is starting a mysql container and a wordpress container. Previously, the wordpress container is built with a volume to link the theme.
stop.sh
is stopping and removing the previously built wordpress and mysql containers.
Don't forget to increment the version number in theme/style.css
Run a docker container to use bower :
cd target
docker run -it --rm -v $(pwd):/data dockerfile/nodejs-bower-grunt
Run this command from the bower container :
./build.sh
Then, exit from the container :
exit
And create the package :
cd target
./package.sh
You can now upload the new version of the theme and activate it on the blog in the admin section.