{"id":19252937,"url":"https://github.com/frc/heroku-wp","last_synced_at":"2025-02-23T16:54:17.594Z","repository":{"id":140523136,"uuid":"100591441","full_name":"frc/heroku-wp","owner":"frc","description":"Experimental: Heroku addon to fork WordPress applications","archived":false,"fork":false,"pushed_at":"2023-04-18T20:25:38.000Z","size":45,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-01-05T07:15:00.046Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/frc.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-17T10:25:10.000Z","updated_at":"2017-09-03T08:23:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"acb6eaba-4494-46c5-b830-196b7175d024","html_url":"https://github.com/frc/heroku-wp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frc%2Fheroku-wp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frc%2Fheroku-wp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frc%2Fheroku-wp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frc%2Fheroku-wp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frc","download_url":"https://codeload.github.com/frc/heroku-wp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240347947,"owners_count":19787236,"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-11-09T18:28:56.426Z","updated_at":"2025-02-23T16:54:17.568Z","avatar_url":"https://github.com/frc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# heroku-wp\n\n# Warning\n\nThis is more than just a proof-of-concept, but it has not been tested by anyone else than me. Make sure to take a database backup of production database as well as a copy of the envirionment if you decide to try this out. Feel free to improve it too!\n\n## Usage\n\nYou can install the package by running\n\n```shell\nheroku plugins:install heroku-wp\n\n```\n\nThis package includes two commands:\n\n* `heroku wp:fork`: Forks an existing WordPress application.\n* `heroku wp:cli`: Wrapper for the wp-cli binary installed through composer.\n\n### wp:fork\n\nThe command can be seen as an hybrid between `heroku fork` and review apps functionality. It enhances `heroku fork` by setting up the database on the forked app based on the database the fork is based from (with search and replace and WP ENV tweaking). It removes limitations from the review apps functionality so forked apps can be created from the user's local branch instead of being limited to GitHub Pull Requests.\n\nArguments:\n\n* `--name (-n)`: Fork app name\n* `--disable-scale-down`: By default forks will try to use minimal ressources and will not follow the parent application. Use `--disable-scale-down` if you want to uses the same configuration as the parent app.\n\nThe application uses a temporary local database to run the search and replace.\n\n### wp:cli\n\nThe command is a single wrapper around wp-cli.\n\nExample:\n\n```shell\nheroku wp:cli plugin list\n```\n\nInstead of having to specify the path to the wp-cli itself (unless it was added to $PATH):\n\n```shell\nheroku run ./vendor/bin/wp plugin list\n\n```\n\n## Limitations\n\nApp permissions\n\nRemove auto idle apps\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrc%2Fheroku-wp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrc%2Fheroku-wp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrc%2Fheroku-wp/lists"}