Skip to content

Commit

Permalink
Merge pull request #211 from PRX/remove_cfm
Browse files Browse the repository at this point in the history
Remove WP-CFM plugin and the script commands related to it.
  • Loading branch information
brandonhundt authored May 10, 2024
2 parents 6ea8bbb + 473ba47 commit e2c877a
Show file tree
Hide file tree
Showing 74 changed files with 1 addition and 12,071 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,6 @@ Install the following extension:

- TBD

### Configuration

This wordpress installation uses WP-CFM to manage database changes and deploy them between environments. Follow the steps below to ensure your local changes are properly captured and deployed.

- Go to http://the-world-wp.lndo.site/wp-admin/options-general.php?page=wpcfm and manually create any new configuration bundles or update existing bundles if needed.
- Run `npm run config-export`
-

### Helper scripts

To use the helper script provided you will need to have `npm` installed. These commands are bash scripts located in the `./scripts` directory and defined in `package.json`.
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
"type": "git"
},
"scripts": {
"refresh": "./scripts/refresh.sh",
"local": "./scripts/local.sh",
"config-export": "./scripts/config-export.sh"
"refresh": "./scripts/refresh.sh"
},
"bugs": {
"url": "https://github.com/LuminexCorporation/luminexcorp/issues"
Expand Down
2 changes: 0 additions & 2 deletions scripts/config-export.sh

This file was deleted.

5 changes: 0 additions & 5 deletions scripts/local.sh

This file was deleted.

6 changes: 0 additions & 6 deletions scripts/refresh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ else
lando pull --database=dev --files=none --code=none
fi

echo "Activate Configuration Management before importing configuration"
lando wp plugin activate wp-cfm
lando wp plugin activate wp-cfm-path
echo "Import configuration from WP CFM bundles and Replace domain in the database."
lando wp config pull all

echo "Create local admin user"
lando wp user create local-admin [email protected]
lando wp user set-role local-admin administrator
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@
'visual-term-description-editor/visual-term-description-editor.php',
'wordpress-importer/wordpress-importer.php',
'wordpress-seo/wp-seo.php',
'wp-cfm-path/wp-cfm-path.php',
'wp-cfm/wp-cfm.php',
'wp-rest-menu/wp-rest-menus.php',
'xml-sitemap-feed/xml-sitemap.php',
'wp-redis/wp-redis.php',
Expand Down
68 changes: 0 additions & 68 deletions wp-content/plugins/wp-cfm-path/wp-cfm-path.php

This file was deleted.

168 changes: 0 additions & 168 deletions wp-content/plugins/wp-cfm/CHANGELOG.md

This file was deleted.

Loading

0 comments on commit e2c877a

Please sign in to comment.