Skip to content

Commit

Permalink
OEL-1357: How to require alpha version. Remove when stable is released.
Browse files Browse the repository at this point in the history
  • Loading branch information
donquixote committed Apr 21, 2022
1 parent f380b8a commit 611e7ef
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,32 @@ Add this manually in composer.json, or combine with existing entries:
}
```

If your project is still in development, you may modify composer.json to allow alpha versions, while this package and some of its dependencies are still in their `alpha` phase.

Review this again when the site goes into production.

```
"minimum-stability": "alpha",
```

Require with composer:

```bash
composer require openeuropa/oe_whitelabel
```

If composer.json does not allow alpha versions, a version string needs to be appended to the package name in the require command, and other dependencies with alpha versions also need to be required with explicit version strings. The version string could be `:^1.0@alpha`, or a specific version like `:^1.0.0-alpha7`.

```bash
composer require openeuropa/oe_whitelabel:^1.0@alpha openeuropa/oe_bootstrap_theme:^1.0@alpha
```

Review the installed package versions. Make sure that oe_whitelabel and oe_bootstrap theme are using 1.x or higher.

```bash
composer show -i | grep oe_
```

### Enable and configure

Enable required and optional submodules:
Expand Down

0 comments on commit 611e7ef

Please sign in to comment.