- Git (opens new window) to clone this repository.
- Yarn (opens new window) as the preferred tool to manage dependencies and run development scripts (you can also use plain npm (opens new window)).
- Composer (opens new window) to manage PHP dependencies (Optional, used for PHP linting).
- Advanced Custom Fields (opens new window) (Regular or PRO) to take advantage of its integration with Bricks (Optional but strongly recommended).
Install Advanced Custom Fields (Regular or Pro version) into your WordPress installation (Optional).
Using ACF is not mandatory but strongly recommended, because Bricks takes advantage of some of its features.
Clone Bricks from its repository (opens new window) directly inside the
wp-content/themesdirectory in your WordPress installation:
git clone https://github.com/stefanobartoletti/bricks.git
.githubdirectories inside the newly created
git initto initialize a new repository from scratch (you may skip this step, i.e. if you already have a Git repository versioning your entire WordPress installation).
Install dependencies with your package manager:
Compile all resources: