Skip to content

ValtechTechno/valtech-blog-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

valtech-blog-theme

This is the repository of the Valtech Wordpress theme.

How to run it ?

  1. install docker
  2. run ./start.sh
  3. run docker logs --follow wordpress-for-theme
  4. Look for IP into line apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.7 for ServerName
  5. Navigate to this IP on your browser
  6. Follow final installation steps of wordpress
  7. Login with the admin account you created
  8. 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.

The theme

It uses foundation in order to be responsive out-of-the-box.

How it works ?

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.

How to package the theme ?

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.

About

This is the repository of the Valtech Wordpress theme

Resources

Stars

Watchers

Forks

Packages

No packages published