-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #980 from mollie/ddev-improvements
DDEV improvments
- Loading branch information
Showing
13 changed files
with
853 additions
and
2,258 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
|
||
wp plugin install wordpress-importer --activate | ||
wp import ../sample_products.xml --authors=skip | ||
wp import ../wordpress/wp-content/plugins/woocommerce/sample-data/sample_products.xml --authors=skip |
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
.ddev/commands/web/orchestrate.d/34_woocommerce_classic_pages.sh
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
.ddev/commands/web/orchestrate.d/35_woocommerce_block_pages.sh
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
.ddev/commands/web/orchestrate.d/35_woocommerce_classic_pages.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
wp wc tool run install_pages --user="admin" | ||
wp post create --post_content='<!-- wp:woocommerce/classic-shortcode {"shortcode":"checkout"} /-->' --post_title='Classic Checkout' --post_type=page --post_status=publish --menu_order=21 | ||
wp post create --post_content='<!-- wp:woocommerce/classic-shortcode /-->' --post_title='Classic Cart' --post_type=page --post_status=publish --menu_order=20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,34 @@ | ||
name: mollie-payments-for-woocommerce | ||
type: wordpress | ||
type: php | ||
docroot: .ddev/wordpress | ||
php_version: "7.4" | ||
webserver_type: nginx-fpm | ||
webserver_type: apache-fpm | ||
router_http_port: "80" | ||
router_https_port: "443" | ||
xdebug_enabled: false | ||
additional_hostnames: [] | ||
additional_fqdns: [] | ||
database: | ||
type: mariadb | ||
version: "10.3" | ||
type: mariadb | ||
version: "10.3" | ||
nfs_mount_enabled: false | ||
mutagen_enabled: false | ||
hooks: | ||
post-start: | ||
- exec-host: .ddev/bin/dump-compose-config | ||
- exec-host: ddev describe -j | SOURCE_NAME=$DDEV_PROJECT .ddev/bin/setup-ide-datasource.php | ||
pre-start: | ||
- exec-host: mkdir -p .ddev/wordpress/wp-content/plugins/${DDEV_PROJECT} | ||
pre-start: | ||
- exec-host: "mkdir -p .ddev/wordpress/wp-content/plugins/${DDEV_PROJECT}" | ||
use_dns_when_possible: true | ||
composer_version: "2" | ||
web_environment: | ||
- BASEURL=https://fd8d-88-17-29-100.ngrok-free.app | ||
- WP_VERSION=6.1 | ||
#- BASEURL=https://fd8d-88-17-29-100.ngrok-free.app | ||
- WP_VERSION=6.7.1 | ||
- WP_LOCALE=en_US | ||
- WP_TITLE=Mollie WordPress Test | ||
- PLUGIN_NAME=mollie-payments-for-woocommerce | ||
- ADMIN_USER=admin | ||
- ADMIN_PASS=admin | ||
- [email protected] | ||
- WC_VERSION=7.2.2 | ||
nodejs_version: "16" | ||
- WC_VERSION=9.5.1 | ||
nodejs_version: "22" | ||
|
||
# Key features of ddev's config.yaml: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
version: '3.6' | ||
services: | ||
web: | ||
volumes: | ||
- source: ../ | ||
target: /var/www/html/.ddev/wordpress/wp-content/plugins/mollie-payments-for-woocommerce | ||
type: bind | ||
volumes: | ||
- ../:/var/www/html/.ddev/wordpress/wp-content/plugins/${DDEV_PROJECT}:ro |
Oops, something went wrong.