{"id":18400478,"url":"https://github.com/docksal/boilerplate-bedrock","last_synced_at":"2025-04-07T06:33:28.640Z","repository":{"id":42463580,"uuid":"139673666","full_name":"docksal/boilerplate-bedrock","owner":"docksal","description":"Bedrock (Wordpress with Composer) boilerplate powered by Docksal","archived":false,"fork":false,"pushed_at":"2022-04-23T04:45:51.000Z","size":26,"stargazers_count":10,"open_issues_count":1,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-13T21:54:55.950Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docksal.io","language":"PHP","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/docksal.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-04T05:43:44.000Z","updated_at":"2022-12-06T04:21:11.000Z","dependencies_parsed_at":"2022-09-14T00:10:34.771Z","dependency_job_id":null,"html_url":"https://github.com/docksal/boilerplate-bedrock","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/docksal%2Fboilerplate-bedrock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docksal%2Fboilerplate-bedrock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docksal%2Fboilerplate-bedrock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docksal%2Fboilerplate-bedrock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docksal","download_url":"https://codeload.github.com/docksal/boilerplate-bedrock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247200002,"owners_count":20900377,"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-06T02:33:42.239Z","updated_at":"2025-04-07T06:33:28.614Z","avatar_url":"https://github.com/docksal.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docksal Powered Bedrock (Wordpress Composer Version)\n\nFeatures:\n\n- WordPress w/ Composer\n\n## Setup instructions\n\n1. Clone this repo into your Projects directory\n\n```\ngit clone https://github.com/docksal/bedrock.git\ncd bedrock\n```\n\n1. Initialize the site\n\nThis will run composer install, initialize local settings, and install the site via wp-cli\n\n```\nfin init\n```\n\n1. Point your browser to\n\n```\nhttp://bedrock.docksal\n```\n\n-------------\n\n# [Bedrock](https://roots.io/bedrock/)\n[![Packagist](https://img.shields.io/packagist/v/roots/bedrock.svg?style=flat-square)](https://packagist.org/packages/roots/bedrock)\n[![Build Status](https://img.shields.io/travis/roots/bedrock.svg?style=flat-square)](https://travis-ci.org/roots/bedrock)\n\nBedrock is a modern WordPress stack that helps you get started with the best development tools and project structure.\n\nMuch of the philosophy behind Bedrock is inspired by the [Twelve-Factor App](http://12factor.net/) methodology including the [WordPress specific version](https://roots.io/twelve-factor-wordpress/).\n\n## Features\n\n* Better folder structure\n* Dependency management with [Composer](http://getcomposer.org)\n* Easy WordPress configuration with environment specific files\n* Environment variables with [Dotenv](https://github.com/vlucas/phpdotenv)\n* Autoloader for mu-plugins (use regular plugins as mu-plugins)\n* Enhanced security (separated web root and secure passwords with [wp-password-bcrypt](https://github.com/roots/wp-password-bcrypt))\n\nUse [Trellis](https://github.com/roots/trellis) for additional features:\n\n* Easy development environments with [Vagrant](http://www.vagrantup.com/)\n* Easy server provisioning with [Ansible](http://www.ansible.com/) (Ubuntu 16.04, PHP 7.1, MariaDB)\n* One-command deploys\n\nSee a complete working example in the [roots-example-project.com repo](https://github.com/roots/roots-example-project.com).\n\n## Requirements\n\n* PHP \u003e= 5.6\n* Composer - [Install](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)\n\n## Installation\n\n1. Create a new project in a new folder for your project:\n\n  `composer create-project roots/bedrock your-project-folder-name`\n\n2. Update environment variables in `.env`  file:\n  * `DB_NAME` - Database name\n  * `DB_USER` - Database user\n  * `DB_PASSWORD` - Database password\n  * `DB_HOST` - Database host\n  * `WP_ENV` - Set to environment (`development`, `staging`, `production`)\n  * `WP_HOME` - Full URL to WordPress home (http://example.com)\n  * `WP_SITEURL` - Full URL to WordPress including subdirectory (http://example.com/wp)\n  * `AUTH_KEY`, `SECURE_AUTH_KEY`, `LOGGED_IN_KEY`, `NONCE_KEY`, `AUTH_SALT`, `SECURE_AUTH_SALT`, `LOGGED_IN_SALT`, `NONCE_SALT`\n\n  If you want to automatically generate the security keys (assuming you have wp-cli installed locally) you can use the very handy [wp-cli-dotenv-command][wp-cli-dotenv]:\n\n      wp package install aaemnnosttv/wp-cli-dotenv-command\n\n      wp dotenv salts regenerate\n\n  Or, you can cut and paste from the [Roots WordPress Salt Generator][roots-wp-salt].\n\n3. Add theme(s) in `web/app/themes` as you would for a normal WordPress site.\n\n4. Set your site vhost document root to `/path/to/site/web/` (`/path/to/site/current/web/` if using deploys)\n\n5. Access WP admin at `http://example.com/wp/wp-admin`\n\n## Deploys\n\nThere are two methods to deploy Bedrock sites out of the box:\n\n* [Trellis](https://github.com/roots/trellis)\n* [bedrock-capistrano](https://github.com/roots/bedrock-capistrano)\n\nAny other deployment method can be used as well with one requirement:\n\n`composer install` must be run as part of the deploy process.\n\n## Documentation\n\nBedrock documentation is available at [https://roots.io/bedrock/docs/](https://roots.io/bedrock/docs/).\n\n## Contributing\n\nContributions are welcome from everyone. We have [contributing guidelines](https://github.com/roots/guidelines/blob/master/CONTRIBUTING.md) to help you get started.\n\n## Community\n\nKeep track of development and community news.\n\n* Participate on the [Roots Discourse](https://discourse.roots.io/)\n* Follow [@rootswp on Twitter](https://twitter.com/rootswp)\n* Read and subscribe to the [Roots Blog](https://roots.io/blog/)\n* Subscribe to the [Roots Newsletter](https://roots.io/subscribe/)\n* Listen to the [Roots Radio podcast](https://roots.io/podcast/)\n\n[roots-wp-salt]:https://roots.io/salts.html\n[wp-cli-dotenv]:https://github.com/aaemnnosttv/wp-cli-dotenv-command\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocksal%2Fboilerplate-bedrock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocksal%2Fboilerplate-bedrock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocksal%2Fboilerplate-bedrock/lists"}