Getting Started
Getting started with Pure is easy -- the project is available via Composer, making it all available through a couple simple commands.
Requirements
Pure uses Composer (PHP\'s package manager) and npm (Javascript\'s package manager) to fetch and manage the framework and its dependencies. Use the buttons below to install these package utilities.
Installation
If all the prerequisites are met, you can run the following commands to get started. Replace [theme-name]
with your desired folder name (from the directory you\'re working in).
composer create-project jpederson/wp-pure [theme-name]
Once you\'ve done that, you can change directory into your theme folder, and get started by running the next two commands:
npm install
Working
When you\'re inside your project folder (the theme folder for the new custom theme you\'re building), all you need is the grunt
command, which will watch your files and compile/minify as necessary.
From there, you can manage the CSS of your new theme inside of the css/src/
folder, and add new Javascript files in the js/src/
folder.