Repository for the DCTx project.
Local SSL is required!
10.x
), Gulp CLI (npm install -g gulp-cli
), and Bower (npm install -g bower
).composer install
inside wp-content
, this will install all needed plugins by the website.composer.json
in the required
part, and run composer install
again. Do not do composer update
instead in the wp-content
folder run rm composer.lock
before you run composer install
. "require": {
"wpackagist-plugin/gutenberg": "7.8.1",
"wpackagist-plugin/name-of-plugin-here: "Version"
},
dctx-v2
cd themes/dctx-v2
Yarn
yarn install && bower install
NPM
npm install && bower install
master
using either hotfix
or feature
like so: git checkout -b feature\jc-feature-name
From the command line, type any of the following to perform an action (make sure you are inside of the theme folder):
gulp watch
- Automatically handle changes to CSS, JS, SVGs, and image sprites. Also kicks off BrowserSync.
gulp icons
- Minify, concatenate, and clean SVG icons.
gulp i18n
- Scan the theme and create a POT file.
gulp sass:lint
- Run Sass against WordPress code standards.
gulp js:lint
- Run Javascript against WordPress code standards.
gulp scripts
- Concatenate and minify javascript files.
gulp sprites
- Generate an image sprite and the associated Sass (sprite.png).
gulp styles
- Compile, prefix, combine media queries, and minify CSS files.
gulp
- Runs the following tasks at the same time: i18n, icons, scripts, styles, sprites.