Skip to content

cnrsys/BootStrapFast

Repository files navigation

BootStrapFast WordPress Theme

CircleCI Dashboard BootStrapFast Dev Site BootStrapFast

Pre-requisites

  1. Lando
  2. Gulp
  3. Pantheon machine token
  4. Github token
  5. CircleCI token
  6. Node Version Manager & NodeJS

Local initial setup

  1. Git clone this repo
  2. lando start
  3. lando terminus auth:login --machine-token=
  4. lando pull --code=none --files=none --database=dev
  5. cd web/wp-content/themes/bootstrapfast then gulp watch
  6. . ~/.nvm/nvm.shandnvm use 8`
  7. Run npm install -g npm@latest
  8. Run npm install -g gulp bower
  9. Run npm install
  10. Run bower install

Updating core, installing theme or plugins

  1. Update composer.json
  2. lando composer update

Theme test data sources if you need to reset dummy data for testing

You need to activate plugin

Option 1

From https://codex.wordpress.org/Theme_Unit_Test

https://raw.githubusercontent.com/WPTRT/theme-unit-test/master/themeunittestdata.wordpress.xml

Option 2

From https://github.com/poststatus/wptest