Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
crftwrk committed Nov 5, 2023
1 parent c80c6b0 commit cdfed42
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ bootScore is a time-saving tool designed to swiftly create clean, mobile-first p

## Table of contents
- [Installation](#installation)
- [Composer](#composer)
- [Child-theme](#child-theme)
- [Plugins](#plugins)
- [Support & contribute](#support--contribute)
Expand All @@ -52,40 +51,6 @@ bootScore is a time-saving tool designed to swiftly create clean, mobile-first p
### Composer
To install with composer you will need to have composer installed on your system, and ideally on your server also with command line access, but that’s not required.

Here are two methods of installing theme with composer:

#### Method 1 – composer/installers
Add the following to your projects composer.json file (remove comments)

```json
"require": {
"composer/installers": "^2.1",
// other existing dependencies if any here
},
"repositories":[ // add the wpackagist repo, packagist is included by default
{
"type":"composer",
"url":"https://wpackagist.org",
"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
]
}
],
"extra": { //configuration for composer/installers:
"installer-paths": {
"wordpress/wp-content/plugins/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"wordpress/wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
"wordpress/wp-content/themes/{$name}/": ["type:wordpress-theme"]
}
}
```

#### Method 2 – Bedrock
1. Create a new bedrock project with `$ composer create-project roots/bedrock`
2. Configure the .env file – see bedrock docs page @ https://docs.roots.io/bedrock/
3. You can now install themes and packages, in an alternate project structure

## Child-theme
Edit theme in an upgrade-safe way using the provided [bootScore Child](/~https://github.com/bootscore/bootscore-child).

Expand Down

0 comments on commit cdfed42

Please sign in to comment.