Installation
This page will guide you through setting up Nova for local development.
ℹ️
If you're looking to install Nova for a new brand, see Creating a new Nova site.
Prerequisites
You'll need pmc-vvv installed and running, as well as the appropriate versions of node and npm.
Provisioning Nova
These steps are provisioning the Nova demo brand, but the steps apply to all brands on Nova.
- Set
skip_provisioningtofalsefor Nova (or any brand) in the VVV config.yml (opens in a new tab). - Provision VVV.
- WordPress should now be available at http://nova.test/ (opens in a new tab)
cdinto your relativevvv-local/www/nova/public_html/wp-content/plugins/pmc-plugins/pmc-nova/style-guidedirectory.
You should now see a live WordPress site at http://nova.test (opens in a new tab)
Starting the Style Guide
The Style Guide can be started using standard Node/npm commands,
From the /style-guide/ directory,
- Make sure you have the right version of Node and NPM installed
- Run
nvm use(or your favorite equivalent)
- Run
- Run
npm install - Run
npm run nova build - Run
npm run dev
You can access the Style Guide at http://localhost:3000 (opens in a new tab).