{"id":15567718,"url":"https://github.com/piyushchauhan2011/wordpress-learning","last_synced_at":"2025-03-29T05:36:10.081Z","repository":{"id":182023414,"uuid":"667825185","full_name":"piyushchauhan2011/wordpress-learning","owner":"piyushchauhan2011","description":"Wordpress local setup with tests, plugins and themes using wp-cli","archived":false,"fork":false,"pushed_at":"2023-07-19T01:05:18.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-03T15:56:27.528Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/piyushchauhan2011.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-18T11:39:37.000Z","updated_at":"2023-07-18T11:39:54.000Z","dependencies_parsed_at":"2023-07-21T21:35:00.689Z","dependency_job_id":null,"html_url":"https://github.com/piyushchauhan2011/wordpress-learning","commit_stats":null,"previous_names":["piyushchauhan2011/wordpress-learning"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyushchauhan2011%2Fwordpress-learning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyushchauhan2011%2Fwordpress-learning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyushchauhan2011%2Fwordpress-learning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyushchauhan2011%2Fwordpress-learning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piyushchauhan2011","download_url":"https://codeload.github.com/piyushchauhan2011/wordpress-learning/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246145017,"owners_count":20730494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T17:12:34.874Z","updated_at":"2025-03-29T05:36:10.055Z","avatar_url":"https://github.com/piyushchauhan2011.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wordpress + mysql with tests, plugins and themes\n\n```bash\n\nbrew install wp-cli\n\nwp core download\n\nbrew install mysql\n\nmysql -u root -p\n\ncreate database wp_dev;\n\nquit\n\nwp server # configure the wp-config.php file\n\nwp config shuffle-salts # if required, links in wp-config file to generate via web\n\ncd wp-content/plugins/new-plugin\n\ncomposer install\n\nnpm install # node v16 and npm v7 are required for this to work\n\nnpm run build\n\nbash ./vendor/bin/install-wp-tests.sh wp_dev_test root '' localhost latest # to install the test database\n\n# check wordpress-tests-lib/ folder exists and has data and includes folder\n# if not delete folders \u003ctemp-path\u003e/wordpress and \u003ctemp-path\u003e/wordpress-tests-lib, temp-path is the path returned by the install-wp-tests.sh script\n\n./vendor/bin/phpunit # to run tests, only phpunit v9 is supported, phpunit v10 doesn't work\n\n# only local mysql server is supported, unable to work with docker mysql server\n\nwp db import \u003cpath-to-db-file\u003e # check wp db --help for more options\n\nwp db query \u003c query.sql\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiyushchauhan2011%2Fwordpress-learning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiyushchauhan2011%2Fwordpress-learning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiyushchauhan2011%2Fwordpress-learning/lists"}