{"id":14986167,"url":"https://github.com/wpsh/wpsh-local","last_synced_at":"2026-01-05T00:06:10.222Z","repository":{"id":57082432,"uuid":"161773042","full_name":"wpsh/wpsh-local","owner":"wpsh","description":"Create virtual development environment using Docker Compose inside Vagrant.","archived":false,"fork":false,"pushed_at":"2020-03-05T15:22:44.000Z","size":15,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T11:43:15.641Z","etag":null,"topics":["composer","composer-package","development-environment","docker","docker-compose","vagrant","wordpress"],"latest_commit_sha":null,"homepage":"https://wpsh.org/local","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/wpsh.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-14T11:03:39.000Z","updated_at":"2019-06-12T10:54:35.000Z","dependencies_parsed_at":"2022-08-24T14:42:49.185Z","dependency_job_id":null,"html_url":"https://github.com/wpsh/wpsh-local","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpsh%2Fwpsh-local","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpsh%2Fwpsh-local/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpsh%2Fwpsh-local/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpsh%2Fwpsh-local/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpsh","download_url":"https://codeload.github.com/wpsh/wpsh-local/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244826744,"owners_count":20516815,"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":["composer","composer-package","development-environment","docker","docker-compose","vagrant","wordpress"],"created_at":"2024-09-24T14:12:28.349Z","updated_at":"2026-01-05T00:06:10.170Z","avatar_url":"https://github.com/wpsh.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Local Development Environment\n\n[![Build Status](https://travis-ci.com/wpsh/wpsh-local.svg?branch=master)](https://travis-ci.com/wpsh/wpsh-local)\n\nAdd this to any project with `docker-compose.yaml` to run the containers inside Vagrant. Useful for creating friendly development environments with beautiful hostnames (no port numbers) that don't require Docker on the host machine.\n\n\n## Requirements\n\n- [Vagrant](https://www.vagrantup.com)\n- [VirtualBox](https://www.virtualbox.org)\n\nWe suggest using [Homebrew](https://brew.sh) to install the dependencies:\n\n\tbrew cask install virtualbox vagrant\n\n\n## Install\n\n1. Add this package to your project using [Composer](https://getcomposer.org):\n\n\t\tcomposer require --dev wpsh/local\n\n2. Add `Vagrantfile` to the root of your project with the following contents:\n\n\t\t# Configure the hostname.\n\t\tVagrant.configure(2) do |config|\n\t\t  config.vm.hostname = 'wpsh-local'\n\t\tend\n\n\t\tload File.join(\n\t\t  File.dirname(__FILE__),\n\t\t  'vendor/wpsh/local/Vagrantfile'\n\t\t)\n\n\twhere `vendor/wpsh/local` is the relative path to this packge.\n\n3. Create `docker-compose.yaml` in the root of your project to define the virtual environment.\n\n\n## Examples\n\n- See [`examples/wordpress`](examples/wordpress) for a sample WordPress development environment.\n- [Block Context WordPress plugin](https://github.com/preseto/block-context).\n\n\n## Development\n\n[Travis CI](https://travis-ci.com/wpsh/wpsh-local) lints all shell scripts in `scripts/vagrant` using [shellcheck](https://www.shellcheck.net) and `Vagrantfile` (and other Ruby files) using [rubocop](https://github.com/rubocop-hq/rubocop).\n\n\n## To Do\n\n- Add support for installing via `npm`.\n- Automatically create the project `Vagrantfile` on the first install.\n\n\n## Credits\n\nCreated by [Kaspars Dambis](https://kaspars.net).\n\n\n## License\n\nSee the LICENSE file for license rights and limitations (MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpsh%2Fwpsh-local","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpsh%2Fwpsh-local","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpsh%2Fwpsh-local/lists"}