AtlasOfLivingAustralia / ala-wordpress-2019

WordPress theme for ALA - created early 2019
MIT License
0 stars 1 forks source link

A Wordpress site by Pivotal Agency

Installation

1. Clone this repo

git clone <repo-url>

2. Copy .env.example to .env and add your environment's settings

cp .env.example .env

3. Import the DB

Once imported: scrub any sensitive data (eg. customer info, credit card tokens etc).

4. Install dependencies (composer, npm)

composer install --ignore-platform-reqs
( cd web/app/themes/pvtl; yarn )

Local development

Installation

Working in the Pivotal Docker Dev environment, you'll need to do the following:

Developing With NPM, Gulp, SASS and Browser Sync

Running

From the pvtl theme directory: to work and compile your Sass files on the fly start:

Or, to run with Browser-Sync:

[1] Visit https://browsersync.io/ for more information on Browser Sync


Wordpress Plugins

Wordpress Plugins are managed through composer.

Installing

Updating

Simply update the plugin's version number (to the desired version) in composer.json and run composer update.

Removing

Simply run composer remove wpackagist-plugin/plugin-name


Gutenburg (w/ ACF) Blocks

Basics

Requirements