{"id":20389302,"url":"https://github.com/positiondev/tni-bedrock","last_synced_at":"2025-12-02T17:02:10.798Z","repository":{"id":142264429,"uuid":"75865358","full_name":"positiondev/tni-bedrock","owner":"positiondev","description":null,"archived":false,"fork":false,"pushed_at":"2016-12-30T15:37:16.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-15T10:02:27.195Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/positiondev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2016-12-07T18:47:21.000Z","updated_at":"2016-12-07T18:48:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"39b351c7-5149-4287-bf3b-e08655c19d2e","html_url":"https://github.com/positiondev/tni-bedrock","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/positiondev%2Ftni-bedrock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/positiondev%2Ftni-bedrock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/positiondev%2Ftni-bedrock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/positiondev%2Ftni-bedrock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/positiondev","download_url":"https://codeload.github.com/positiondev/tni-bedrock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241940539,"owners_count":20045878,"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-15T03:17:14.937Z","updated_at":"2025-12-02T17:02:10.744Z","avatar_url":"https://github.com/positiondev.png","language":"PHP","readme":"# [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 14.04, PHP 7, 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. Copy `.env.example` to `.env` and update environment variables:\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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpositiondev%2Ftni-bedrock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpositiondev%2Ftni-bedrock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpositiondev%2Ftni-bedrock/lists"}