Skip to content

Commit

Permalink
Clean up files and point to the non-cli version in the readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwelcher committed May 21, 2024
1 parent e07a631 commit 755aea9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Interactivity API To-do MVC
A to-do list built using the WordPress Interactivity API for [ToDoMVC](https://todomvc.com/)

[View the demo in WordPress Playground](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/ryanwelcher/interactivity-api-todomvc/trunk/_blueprint/to-do-mvc.json)
[View the demo in WordPress Playground](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/ryanwelcher/interactivity-api-todomvc/trunk/_blueprint/to-do-mvc-no-cli.json)
6 changes: 1 addition & 5 deletions _blueprint/to-do-mvc-no-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
],
"features": {},
"steps": [
null,
false,
{
"step": "login",
"username": "admin",
Expand Down Expand Up @@ -41,8 +39,6 @@
{
"step": "activatePlugin",
"pluginPath": "/wordpress/wp-content/plugins/mvc-setup/"
},
null,
null
}
]
}
8 changes: 2 additions & 6 deletions _blueprint/to-do-mvc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
],
"features": {},
"steps": [
null,
false,
{
"step": "login",
"username": "admin",
Expand All @@ -36,8 +34,6 @@
{
"step": "runPHP",
"code": "<?php require_once 'wordpress/wp-load.php'; $pages = wp_get_recent_posts( array( 'post_type'=>'page', 'post_per_page' => 1 ) ); update_option( 'page_on_front', $pages[0]['ID'] ); ?>"
},
null,
null
}
]
}
}

0 comments on commit 755aea9

Please sign in to comment.