{"id":15292293,"url":"https://github.com/salaros/mr-press","last_synced_at":"2025-04-13T11:12:24.842Z","repository":{"id":34354231,"uuid":"38276132","full_name":"salaros/mr-press","owner":"salaros","description":"Mr. Press is a WordPress development stack similar to Bedrock. Project's main goal is to improve the overall security, portability and deployment process of WordPress, while trying to use the best web development practices.","archived":false,"fork":false,"pushed_at":"2017-11-28T17:16:40.000Z","size":171,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T11:12:15.757Z","etag":null,"topics":["bedrock","composer","theme","timber","wordpress","wordpress-deployment","wordpress-development","wordpress-installation","wordpress-plugin","wordpress-theme","wp-cron"],"latest_commit_sha":null,"homepage":"","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/salaros.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-29T23:16:34.000Z","updated_at":"2025-03-30T21:22:27.000Z","dependencies_parsed_at":"2022-08-03T20:30:36.111Z","dependency_job_id":null,"html_url":"https://github.com/salaros/mr-press","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salaros%2Fmr-press","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salaros%2Fmr-press/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salaros%2Fmr-press/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salaros%2Fmr-press/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salaros","download_url":"https://codeload.github.com/salaros/mr-press/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248703198,"owners_count":21148118,"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":["bedrock","composer","theme","timber","wordpress","wordpress-deployment","wordpress-development","wordpress-installation","wordpress-plugin","wordpress-theme","wp-cron"],"created_at":"2024-09-30T16:17:17.221Z","updated_at":"2025-04-13T11:12:24.810Z","avatar_url":"https://github.com/salaros.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mr. Press\n[![Latest Stable Version](https://poser.pugx.org/salaros/mr-press/v/stable)](https://packagist.org/packages/salaros/mr-press)\n[![Packagist type](https://img.shields.io/badge/Packagist-library-pink.svg)](https://packagist.org/packages/salaros/mr-press)\n[![Packagist downloads](https://img.shields.io/packagist/dt/salaros/mr-press.svg)](https://packagist.org/packages/salaros/mr-press/stats)\n[![License](https://poser.pugx.org/salaros/mr-press/license)](https://packagist.org/packages/salaros/mr-press)\n[![Gitter](https://badges.gitter.im/Mr-Press/Lobby.svg)](https://gitter.im/Mr-Press/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=body_badge)\n\n[![SensioLabs Insight](https://img.shields.io/sensiolabs/i/5e21fcee-41e1-4e12-82c6-c1a4549c44a2.svg)](https://insight.sensiolabs.com/projects/5e21fcee-41e1-4e12-82c6-c1a4549c44a2)\n[![Build Status](https://scrutinizer-ci.com/g/salaros/mr-press/badges/build.png?b=master)](https://scrutinizer-ci.com/g/salaros/mr-press/build-status/master)\n[![Dependency Status](https://www.versioneye.com/user/projects/57bfee1d69d9490042f72c31/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/57bfee1d69d9490042f72c31)\n[![composer.lock](https://poser.pugx.org/salaros/mr-press/composerlock)](https://packagist.org/packages/salaros/mr-press)\n\n**Mr. Press** is a [WordPress](https://wordpress.org/) development stack similar to [Bedrock](https://github.com/roots/bedrock).\nProject's main goal is to improve the overall security, portability and deployment process of WordPress, while trying to use the best web development practices.\n\n## Features\n\n* WordPress, its themes and plugins are installed and updated via Composer!\n* `wp-content` folder has been relocated, so it won't mess up with WordPress core\n* Critical WordPress settings (such as site URL, database credentials etc) are [loaded from the environment variables](http://12factor.net/config)\n* [WP Cron is disabled](https://www.lucasrolff.com/wordpress/why-wp-cron-sucks/) by default and there is a ready-to-use cron job to run\n\n### Mr. Press default theme's features\n\n* [Bootstrap](http://getbootstrap.com/) responsive layout\n* Clean templates using [Twig](http://getbootstrap.com/) templates via [Timber](http://twig.sensiolabs.org/) plugin\n* A lot of customizations can be done directly from code:\n    * define menus (links to page, custom links, nested items etc)\n    * add / remove custom post types and taxonomies\n    * handy access to [Bower](http://bower.io/) and [NPM](https://www.npmjs.com/package/npm-assets) assets\n* Integration with [Advanced Custom Fields](http://www.advancedcustomfields.com) plugin (group fields can be registered from theme code) and used via Timber\n\n## Requirements\n\n* [PHP](http://php.net/) \u003e= 5.5 or 7.0\n* [Apache](https://httpd.apache.org/) or [NGINX](http://nginx.org/en/) web server\n* [MySQL](https://www.mysql.com/) or [MariaDB](https://mariadb.org/) DB server\n* [Composer](https://getcomposer.org/) \u003e= 1.0\n\nMake sure that Composer and the rest of the requirements are installed.\n\n## Installation\n\nJust go the web root folder (usually it's `/var/www`) and create your copy of the project:\n\n``` bash\n$ cd /var/wwww\n$ composer create-project salaros/mr-press my-new-website\n```\n\n### Create WordPress tables\n\nNow change to `/var/www/my-new-website` directory and edit the `.env` file and chnage DB connection settings and site URL:\n\n``` bash\n$ cd /var/www/my-new-website\n$ editor .env\n$ composer run-script initialize\n```\n\n### Create cron job\n\nSince [WP Cron is disabled](https://www.lucasrolff.com/wordpress/why-wp-cron-sucks/) by default you'd better run the commands below in order to enable a system [cron job](https://en.wikipedia.org/wiki/Cron) which triggers WP Cron every 5 min:\n\n*PLEASE NOTE: `create-cron-job` requires administrator privileges, so you should run it as root ([super user](https://en.wikipedia.org/wiki/Superuser)) or [sudoer user](https://help.ubuntu.com/community/Sudoers).*\n\n``` bash\n$ cd /var/www/my-new-website\n$ composer run-script create-cron-job\n```\n\n## Contributing\n\n1. Fork it: `https://github.com/salaros/mr-press`\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :bear:\n\n## Known bugs\n\n* **Mr. Press** has been tested on Linux and might also work correctly on Mac OS X. Windows compatibility will be implemented later\n* Most likely **Mr. Press** is not compatible with WordPress multisie, but this feature has been already added to the RoadMap\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n## Credits\n\nTODO: Write credits\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalaros%2Fmr-press","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalaros%2Fmr-press","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalaros%2Fmr-press/lists"}