# Setup
# Requirements
- 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).
# Installation
Install Advanced Custom Fields (Regular or Pro version) into your WordPress installation (Optional).
WARNING
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/themes
directory in your WordPress installation:git clone https://github.com/stefanobartoletti/bricks.git
Delete
.git
and.github
directories inside the newly createdbricks
theme folder.Run
git init
to 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: