Skip to content

Commit 939d499

Browse files
authored
Merge pull request #1 from amnestywebsite/feat/content
Update blueprint with sample content
2 parents 78e7ca9 + 2f4999c commit 939d499

File tree

2 files changed

+318
-75
lines changed

2 files changed

+318
-75
lines changed

blueprint.json

Lines changed: 81 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,87 @@
11
{
2-
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
3-
"meta": {
4-
"title": "The Amnesty Humanity WordPress thme Playground",
5-
"description": "A demo enviroment for our Humanity theme",
6-
"author": "Humanity",
7-
"categories": [
8-
"theme",
9-
"demo"
10-
]
2+
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
3+
"meta": {
4+
"title": "The Amnesty Humanity WordPress thme Playground",
5+
"description": "A demo enviroment for our Humanity theme",
6+
"author": "Humanity",
7+
"categories": [
8+
"theme",
9+
"demo"
10+
]
11+
},
12+
"landingPage": "/wp-admin/post.php?post=2&action=edit",
13+
"preferredVersions": {
14+
"php": "8.2",
15+
"wp": "6.4"
16+
},
17+
"features": {
18+
"networking": true
19+
},
20+
"phpExtensionBundles": [
21+
"kitchen-sink"
22+
],
23+
"siteOptions": {
24+
"blogname": "Humanity Theme",
25+
"blogdescription": "Free and open source WordPRess theme for humanity",
26+
"show_on_front": "page",
27+
"page_on_front": "2"
28+
},
29+
"login": true,
30+
"steps": [
31+
{
32+
"step": "login",
33+
"username": "admin",
34+
"password": "password"
1135
},
12-
"landingPage": "/wp-admin/",
13-
"preferredVersions": {
14-
"php": "8.2",
15-
"wp": "6.4"
36+
{
37+
"step": "enableMultisite"
1638
},
17-
"features": {
18-
"networking": true
39+
{
40+
"step": "mkdir",
41+
"path": "/tmp/humanity-theme"
1942
},
20-
"phpExtensionBundles": [
21-
"kitchen-sink"
22-
],
23-
"siteOptions": {
24-
"blogname": "Humanity Theme",
25-
"blogdescription": "Free and open source WordPRess theme for humanity"
43+
{
44+
"step": "unzip",
45+
"extractToPath": "/tmp/humanity-theme",
46+
"zipFile": {
47+
"resource": "url",
48+
"url": "https://github-proxy.com/proxy/?repo=amnestywebsite/humanity-theme&release=v1.1.1&asset=humanity-theme.zip"
49+
}
2650
},
27-
"login": true,
28-
"steps": [
29-
{
30-
"step": "login",
31-
"username": "admin",
32-
"password": "password"
33-
},
34-
{
35-
"step": "enableMultisite"
36-
},
37-
{
38-
"step": "mkdir",
39-
"path": "/tmp/humanity-theme"
40-
},
41-
{
42-
"step": "unzip",
43-
"extractToPath": "/tmp/humanity-theme",
44-
"zipFile": {
45-
"resource": "url",
46-
"url": "https://github-proxy.com/proxy/?repo=amnestywebsite/humanity-theme&release=v1.1.1&asset=humanity-theme.zip"
47-
}
48-
},
49-
{
50-
"step": "mv",
51-
"fromPath": "/tmp/humanity-theme",
52-
"toPath": "/wordpress/wp-content/themes/humanity-theme"
53-
},
54-
{
55-
"step": "activateTheme",
56-
"themeFolderName": "humanity-theme"
57-
},
58-
{
59-
"step": "installPlugin",
60-
"pluginZipFile": {
61-
"resource": "wordpress.org/plugins",
62-
"slug": "cmb2"
63-
}
64-
},
65-
{
66-
"step": "updateUserMeta",
67-
"meta": {
68-
"admin_color": "sunrise"
69-
},
70-
"userId": 1
71-
},
72-
{
73-
"step": "wp-cli",
74-
"command": "wp post generate --count=12 --post_type=post --post_date=1999-01-04"
75-
},
76-
{
77-
"step": "wp-cli",
78-
"command": "wp theme enable humanity-theme --network"
79-
}
80-
]
51+
{
52+
"step": "mv",
53+
"fromPath": "/tmp/humanity-theme",
54+
"toPath": "/wordpress/wp-content/themes/humanity-theme"
55+
},
56+
{
57+
"step": "wp-cli",
58+
"command": "wp theme activate --network humanity-theme"
59+
},
60+
{
61+
"step": "installPlugin",
62+
"pluginZipFile": {
63+
"resource": "wordpress.org/plugins",
64+
"slug": "cmb2"
65+
}
66+
},
67+
{
68+
"step": "updateUserMeta",
69+
"meta": {
70+
"admin_color": "sunrise"
71+
},
72+
"userId": 1
73+
},
74+
{
75+
"step": "wp-cli",
76+
"command": "wp post generate --count=12 --post_type=post --post_date=1999-01-04"
77+
},
78+
{
79+
"step": "wp-cli",
80+
"command": "wp post update 2 --post_title='Humanity Theme Playground Demo' https://raw.githubusercontent.com/amnestywebsite/humanity-blueprint/main/sample-content.html"
81+
},
82+
{
83+
"step": "wp-cli",
84+
"command": "wp media import https://raw.githubusercontent.com/amnestywebsite/humanity-blueprint/main/jan-kronies-Ao1MeLnG_kY-unsplash.jpg --post_id=2 --featured_image"
85+
}
86+
]
8187
}

0 commit comments

Comments
 (0)