This theme is built with the Fabrica Dev Kit.
- Docker
- Docker-compose
- Gulp-cli (global installation with
npm i -g gulp-clioryarn global add gulp-cli)
- Install Fabrica Dev Kit
- Copy this
setup.ymlto the project root, making whatever changes you like - Run
setup.rb. This will build a Docker container for a local Wordpress installation.
After installation, replace the contents of dev/ with this repo's contents:
git init .
git remote add -t \* -f origin <this-repository-url>
git fetch --all
git reset --hard origin/master
- From
devdirectory, run:docker-compose up -dto start the docker container. - Run
gulpto build the theme and start BrowserSync. - Launch the site using the URL shown in the console, probably http://localhost:3000/.
- To shut down Docker:
docker-compose downfromdevdirectory.
Build the site: gulp build
Zip up the built site into a theme zip in the Dev folder: gulp zip
Timber Documentation for Twig templates: http://timber.github.io/timber/#timber-post