Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1062: Updated readme #61

Merged
merged 1 commit into from
Apr 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 22 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,39 @@

This is a Drupal 9 installation profile for OS2forms project.

## Create a new drupal 9 project with dev stability to allow all required packages to be installed.
## Create a new drupal 9 project

1) Create a new drupal project.
```
Setting the stability to dev to allow all required packages to be installed and
also enable patching.

* Create a new drupal project.

```shell
composer create-project drupal/recommended-project:^9.0 os2forms
```

2) Change composer config.
```
* Change composer config.

```shell
composer config --no-plugins allow-plugins.zaporylie/composer-drupal-optimizations true
composer config --no-plugins allow-plugins.cweagans/composer-patches true
composer config --no-plugins allow-plugins.simplesamlphp/composer-module-installer true
composer config minimum-stability dev
```

3) Require the components of an os2forms project.
Set stability and ensure that patching is enabled. It will not automatically be
enabled by the `composer.json` files in the os2form profile.

```shell
composer config --json minimum-stability dev
composer config --json extra.enable-patching true
```
composer require "os2forms/os2forms:^3.3" "os2forms/os2forms_forloeb:^2.5" "os2forms/os2forms_forloeb_profile:^1.11" --with-all-dependencies

* Require the components of an os2forms project.

```shell
composer require "os2forms/os2forms:^3.3" "os2forms/os2forms_forloeb_profile:^1.11" --with-all-dependencies
```

### Install the os2forms_forloeb_profile

See https://www.drush.org/latest/commands/site_install
Loading