Version: 3.14.3
Environment | Status |
---|---|
Production | |
Staging |
We use the Semantic Versioning 2.0.0 version scheme, when bumping versions the following files must be updated:
- README.md
- style.css
- Local URL is
open-contracting.test
- Theme directory name is
ocp-website
- Git-Flow to be used for git branching
- PHP PSR-12 coding standards
.editorconfig
rules used to maintain coding styles
- PHP 7.4
- Composer
- Laravel Mix
- NPM
Install all PHP dependencies with composer:
composer install
Use WP Migrate to pull the latest database from the production environment. Initially you can export the database only and import locally, and then run WP Mirgate to properly download the database, media and plugins.
Start by installing all npm dependencies and then run the watch command to compile assets.
npm install
npm run watch
SVG files within the /resources/svg
directory will be combined into a single SVG sprite, and can be referenced using the following snippet where a filename of icon-twitter.svg
is referenced as:
<svg><use xlink:href="#icon-twitter"></use></svg>
SVGs used like this can be interacted with JavaScript and styled with CSS.