{"id":15543491,"url":"https://github.com/michaeluno/wordpress-installer","last_synced_at":"2026-04-24T20:05:39.076Z","repository":{"id":152019373,"uuid":"395537029","full_name":"michaeluno/WordPress-Installer","owner":"michaeluno","description":"A bash script to install WordPress with a configuration file using WP-CLI","archived":false,"fork":false,"pushed_at":"2022-04-20T12:28:02.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T09:48:16.416Z","etag":null,"topics":["installer","script","test","tool","wordpress","wp-cli"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaeluno.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-13T06:00:17.000Z","updated_at":"2022-04-20T12:28:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e1994a6-ba81-4a61-874d-f1886f16b5e2","html_url":"https://github.com/michaeluno/WordPress-Installer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/michaeluno/WordPress-Installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeluno%2FWordPress-Installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeluno%2FWordPress-Installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeluno%2FWordPress-Installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeluno%2FWordPress-Installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaeluno","download_url":"https://codeload.github.com/michaeluno/WordPress-Installer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeluno%2FWordPress-Installer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32238778,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["installer","script","test","tool","wordpress","wp-cli"],"created_at":"2024-10-02T12:27:15.570Z","updated_at":"2026-04-24T20:05:39.046Z","avatar_url":"https://github.com/michaeluno.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress Installer\n\nConfigure the setting file, `settings.cfg`, and run `install.sh`.\n\n## Requirements\n\n- PHP must be installed to perform the `php` command and run `wp-cli`.\n- The MySQL server set to `DB_HOST` must be running.\n\n## Getting Started\n\n1. **Important** Rename `settings-sample.cfg` to `settings.cfg`. Edit the file and set up necessary paths, database user name password, and host, plugin slug, test site location etc.\n2. Run\n\n```\nbash install.sh\n```\n   \n4. When to uninstall the WordPress site including the database, run the uninstaller script by typing the following.\n\n```\nbash uninstall.sh\n```\n\n### Notes\n\nTo run `.sh` files on Windows, you need a Bash emulator. Here is [one](https://git-for-windows.github.io/).\n\n## Command Arguments\n\n### `c`\n\nSpecify a configuration file with the `c` option. If not specified, the script tries to read `settings.cofg`.\n\nFor example, to test WordPress 5.7 and 5.8, have separate configuration files like `settings-wp57.cfg` and `settings-wp58.cfg`. Then run\n\n```\nbash install.sh -c settings-wp57.cfg\nbash install.sh -c settings-wp58.cfg\n```\n\n## Configurations\nSet necessary options in a setting file. The default setting file that the script tries to load is `settings.cfg`. The name can be changed and in that case use the `c` command option to specify it.  \n\nCopy `settings.sample.cfg`, rename it and edit the options accordingly.   \n\n### `WP_VERSION`\nThe WordPress version to install. The default is `latest`. e.g. `5.8`. \n\n```shell\nWP_VERSION=\"5.7\"\n```\n### `DB_NAME`\nThe database name. \n\n```shell\nDB_NAME=\"test_wp58\"\n```\n### `DB_USER`\nThe database user name.\n```shell\nDB_USER=\"root\"\n```\n### `DB_PASS`\nThe database password.\n```shell\nDB_PASS=\"mypassword\"\n```\n### `DB_HOST`\nThe database password.\n```shell\nDB_HOST=\"localhost\"\n```\n### `WP_TABLE_PREFIX`\nThe database table prefix.\n```shell\nWP_TABLE_PREFIX=\"wp58_\"\n```\n\n### `WP_INSTALL_DIR`\nThe installation directory path.\n```shell\nWP_INSTALL_DIR=\"C:/www/test-wp58\"\n```\n\n### `WP_INSTALL_DIR`\nThe installation site URL.\n```shell\nWP_URL=\"http://localhost/test-wp58\"\n```\n### `WP_LOCALE`\nThe installation site URL.\n```shell\nWP_LOCALE=\"en_US\"\n```\n### `WP_ADMIN_USER_NAME`\nThe initial user as an administrator of the site.\n```shell\nWP_ADMIN_USER_NAME=\"admin\"\n```\n### `WP_ADMIN_PASSWORD`\nThe initial administrator's password.\n```shell\nWP_ADMIN_PASSWORD=\"admin\"\n```\n### `WP_ADMIN_EMAIL`\nThe initial administrator's Email address.\n```shell\nWP_ADMIN_EMAIL=\"local@some.where\"\n```\n### `WP_SITE_TITLE`\nThe site title.\n```shell\nWP_SITE_TITLE=\"Testing WordPress 5.8\"\n```\n\n### `INSTALL_ACTIVE_PLUGINS[]`\nPlugins to install and activate. The value is a URL of the plugin file. Usually the latest version is `latest-stable` keyword and a version number can be replaced with it.\n\n```shell\nINSTALL_ACTIVE_PLUGINS[0]=\"http://downloads.wordpress.org/plugin/admin-page-framework.latest-stable.zip\"\nINSTALL_ACTIVE_PLUGINS[1]=\"http://downloads.wordpress.org/plugin/disable-wordpress-updates.latest-stable.zip\"\n```\n\n### `INSTALL_INACTIVE_PLUGINS[]`\nPlugins to install and leave inactive.\n\n```shell\nINSTALL_INACTIVE_PLUGINS[0]=\"http://downloads.wordpress.org/plugin/wp-downgrade.latest-stable.zip\"\n```\n\n### `WP_MULTISITE`\nWhether the site is for multisite or not. Set `0` for normal sites; otherwise, `1`.\n```shell\nWP_MULTISITE=0\n```\n\n### `WPCLI_VERSION`\nThe WP-CLI version. Accepts `latest` or a version number.\n```shell\nWPCLI_VERSION=\"2.4.0\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaeluno%2Fwordpress-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaeluno%2Fwordpress-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaeluno%2Fwordpress-installer/lists"}