Skip to content

Commit 8e3835e

Browse files
committed
use login and plugin shorthand Fixes #99
1 parent 2fc13a1 commit 8e3835e

File tree

1 file changed

+22
-34
lines changed

1 file changed

+22
-34
lines changed

blueprints/stylish-press/blueprint.json

+22-34
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
"features": {
1515
"networking": true
1616
},
17+
"login":true,
18+
"plugins":["woocommerce"],
1719
"steps": [
1820
{
1921
"step": "resetData"
@@ -23,36 +25,7 @@
2325
"path": "/wordpress/wp-content/mu-plugins/rewrite.php",
2426
"data": "<?php /* Use pretty permalinks */ add_action( 'after_setup_theme', function() { global $wp_rewrite; $wp_rewrite->set_permalink_structure('/%postname%/'); $wp_rewrite->flush_rules(); } );"
2527
},
26-
{
27-
"step": "setSiteOptions",
28-
"options": {
29-
"blogname": "Stylish Press",
30-
"woocommerce_store_city": "Wroc\u0142aw",
31-
"woocommerce_store_address": "Aleje Jerozolimskie 14",
32-
"woocommerce_store_postcode": "00-153",
33-
"woocommerce_default_country": "Poland",
34-
"woocommerce_onboarding_profile": {
35-
"skipped": true
36-
},
37-
"woocommerce_currency": "PLN",
38-
"woocommerce_weight_unit": "oz",
39-
"woocommerce_dimension_unit": "in",
40-
"woocommerce_allow_tracking": "no",
41-
"woocommerce_cheque_settings": {
42-
"enabled": "yes"
43-
}
44-
}
45-
},
46-
{
47-
"step": "installPlugin",
48-
"pluginZipFile": {
49-
"resource": "wordpress.org/plugins",
50-
"slug": "woocommerce"
51-
},
52-
"options": {
53-
"activate": true
54-
}
55-
},
28+
5629
{
5730
"step": "importWxr",
5831
"file": {
@@ -112,9 +85,24 @@
11285
"themeFolderName": "stylish-press-theme"
11386
},
11487
{
115-
"step": "login",
116-
"username": "admin",
117-
"password": "password"
88+
"step": "setSiteOptions",
89+
"options": {
90+
"blogname": "Stylish Press",
91+
"woocommerce_store_city": "Wroc\u0142aw",
92+
"woocommerce_store_address": "Aleje Jerozolimskie 14",
93+
"woocommerce_store_postcode": "00-153",
94+
"woocommerce_default_country": "Poland",
95+
"woocommerce_onboarding_profile": {
96+
"skipped": true
97+
},
98+
"woocommerce_currency": "PLN",
99+
"woocommerce_weight_unit": "oz",
100+
"woocommerce_dimension_unit": "in",
101+
"woocommerce_allow_tracking": "no",
102+
"woocommerce_cheque_settings": {
103+
"enabled": "yes"
104+
}
105+
}
118106
}
119107
]
120-
}
108+
}

0 commit comments

Comments
 (0)