Skip to content

Commit

Permalink
Adjust wingsuit 1 branch in tests (#292)
Browse files Browse the repository at this point in the history
* fix: Adjust wingsuit 1 branch in tests
  • Loading branch information
christianwiedemann authored Dec 16, 2024
1 parent cbe6ac8 commit e2ae90c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
22 changes: 19 additions & 3 deletions docs/src/app/(docs)/drupal/ui_patterns/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,30 @@ The Kickstarter uses UI Patterns to map Patterns to Drupal and [Acquia Blt](http
- [PHP `^7.0.0`](https://php.net)

## Installation

### DDEV (recommend)
#### Create project dir
```bash
composer create-project wingsuit-designsystem/wingsuit-kickstarter wingsuit-kickstarter --stability dev --no-interaction
mkdir project_name
cd project_name
ddev config --project-type=drupal10 --docroot=docroot --create-docroot --database=mariadb:10.11 --php-version=8.3
```
#### Install the project
```bash
ddev composer create wingsuit-designsystem/wingsuit-kickstarter:d11-dev --stability dev --no-interaction
ddev init
```

### Plain PHP
```bash
composer create-project wingsuit-designsystem/wingsuit-kickstarter wingsuit-kickstarter --stability dev --no-interaction
cd wingsuit-kickstarter
./vendor/bin/blt source:build:settings
./vendor/bin/blt setup
composer install

# Import database
drush sql:cli < dump/dump.sql
drush cr
drush cim
```

### First steps
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/test/upgrade_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cd run_upgrade
echo "Upgrade ws in $(pwd)"

if [ ! -d "$(pwd)/wingsuit_base" ]; then
yarn ws init --branch "release/1.x" --folder "$(pwd)/wingsuit_base" --skip-install
yarn ws init --branch "1.0.x" --folder "$(pwd)/wingsuit_base" --skip-install
echo "Upgrade package.json"
cp ../upgrade/package.json wingsuit_base/package.json
cp ../upgrade/wingsuit.config.js wingsuit_base/wingsuit.config.js
Expand Down

0 comments on commit e2ae90c

Please sign in to comment.