{"id":27268724,"url":"https://github.com/apsislabs/wp-boilerplate","last_synced_at":"2025-10-03T23:42:53.343Z","repository":{"id":78419783,"uuid":"83722002","full_name":"apsislabs/WP-Boilerplate","owner":"apsislabs","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-16T19:40:00.000Z","size":17,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-25T07:41:38.788Z","etag":null,"topics":["php","starter-project","wordpress"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/apsislabs.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-03-02T20:33:06.000Z","updated_at":"2025-01-16T19:40:01.000Z","dependencies_parsed_at":"2023-03-14T13:00:38.269Z","dependency_job_id":null,"html_url":"https://github.com/apsislabs/WP-Boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apsislabs%2FWP-Boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apsislabs%2FWP-Boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apsislabs%2FWP-Boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apsislabs%2FWP-Boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apsislabs","download_url":"https://codeload.github.com/apsislabs/WP-Boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248382102,"owners_count":21094540,"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":["php","starter-project","wordpress"],"created_at":"2025-04-11T11:22:15.487Z","updated_at":"2025-10-03T23:42:48.324Z","avatar_url":"https://github.com/apsislabs.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress Boilerplate\n\nThis repo gives you a functioning wordpress dev environment. This repo is built on the `wordpress:latest` docker container, and should remain up to date.\n\n## Getting Up And Running\n\nSetup is simple. Clone this repo, then:\n\n```sh\ndocker compose up -d\ndocker compose exec wordpress bin/bootstrap\n```\n\n## Recommended Customizations\n\nThere are two files that you ought to customize before beginning development in earnest. The first is your `docker compose.yml` file, where you'll want to change your `container_name` to avoid conflicts.\n\nSecond, check ot the `.env.dev` file for environment variables used by the `bootstrap` script. Here you can change the `username`, `password`, or `email` for the user created by the `bootstrap` script.\n\n## Logging In\n\nAfter running bootstrap, there should be a user created with the following:\n\n```\nusername: admin\npassword: password\n```\n\nYou can log in by visiting `localhost:8000/wp-admin`.\n\n## Custom Theme\n\nIf you're writing a from-scratch theme for the new project, consider [cabinet](https://github.com/apsislabs/cabinet) as a starting point.\n\n```\ndegit apsislabs/cabinet wp-content/theme/\u003cyour-theme-folder\u003e\n```\n\n## Custom Post Types\n\nIf you need to register custom post types or custom taxonomies for the new project, consider [carpenter](https://github.com/apsislabs/carpenter).\n\n```\ndegit apsislabs/carpenter wp-content/plugins/carpenter\n```\n\n## Resetting your Dev Environment\n\nIf you want to completely reset your dev environment, the easiest way is to run:\n\n```sh\n$ docker compose down -v \u0026\u0026 docker compose up -d --build\n```\n\nThis is aliased as `bin/reset`.\n\nThis will remove the mounted volume where all local data is stored, then rebuild the container. If you do this, be sure to re-run:\n\n```sh\n$ docker exec \u003ccontainer name\u003e bin/bootstrap\n```\n\n# Deployment\n\n## Staging\n\n1. Add the WP Engine as a remote endpoint: `git remote add staging \u003cwpengine git url\u003e`\n2. Push to the remote: `git push staging \u003cyour branch here\u003e`\n\n## Production\n\nYou can add the Production server as an endpoint the same way that we add Staging, but the preferred method of deployment to Production is to deploy with `git` to Staging, and then to use WP Engine's dashboard to copy the Staging Site to Live.\n\n---\n\n# Built by Apsis\n\n[![apsis](https://s3-us-west-2.amazonaws.com/apsiscdn/apsis.png)](https://www.apsis.io)\n\n`wpengine-boilerplate` was built by Apsis Labs. We love sharing what we build! Check out our [other libraries on Github](https://github.com/apsislabs), and if you like our work you can [hire us](https://www.apsis.io/work-with-us/) to build your vision.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapsislabs%2Fwp-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapsislabs%2Fwp-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapsislabs%2Fwp-boilerplate/lists"}