Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/metabolism/wordpress-bundle-demo
Implementation of the Twenty Nineteen Wordpress theme for Symfony wordpress-bundle.
https://github.com/metabolism/wordpress-bundle-demo
composer dotenv symfony symfony-bundle wordpress wordpress-development yml
Last synced: about 4 hours ago
JSON representation
Implementation of the Twenty Nineteen Wordpress theme for Symfony wordpress-bundle.
- Host: GitHub
- URL: https://github.com/metabolism/wordpress-bundle-demo
- Owner: metabolism
- Created: 2019-10-12T23:47:10.000Z (about 5 years ago)
- Default Branch: 2.0.x
- Last Pushed: 2024-03-18T12:00:09.000Z (8 months ago)
- Last Synced: 2024-03-18T13:26:47.352Z (8 months ago)
- Topics: composer, dotenv, symfony, symfony-bundle, wordpress, wordpress-development, yml
- Language: SCSS
- Homepage:
- Size: 261 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WordPress Bundle for Symfony demo
## Introduction
This is an implementation of the "Twenty Nineteen" WordPress theme for wordpress-bundle.
The "theme" concept has been removed on WordPress Bundle, templates are now twig files located in `/templates`
Sass and js files are compiled using Symfony Encore, source are located in `/assets`, compiled files in `/public/build`
## Documentation
Full bundle documentation is available on [Gitbook](https://metabolism.gitbook.io/symfony-wordpress-bundle/)
[![Doc - Gitbook](https://img.shields.io/badge/Doc-Gitbook-346ddb?style=for-the-badge&logo=gitbook&logoColor=fff)](https://metabolism.gitbook.io/symfony-wordpress-bundle/)
## Installation
#### Clone the repo
```shell
$ git clone https://github.com/wearemetabolism/wordpress-bundle-demo.git my_site
```#### Install vendors
```shell
$ composer install && npm install
```#### Build assets
```shell
$ npm run build
```#### Copy .env.local sample
```shell
$ cp .env.local.sample .env.local
```#### Create empty database
```sql
CREATE DATABASE dbname;
```#### Update .env.local
```shell
$ nano .env.local
```#### Start server
```shell
$ symfony serve
```#### Install WordPress
Navigate to https://127.0.0.1:8000 and follow the installation procedure
#### Update .env.local
```dotenv
WP_INSTALLED=1
```
#### Enable "WordPress on Steroids" pluginsLogin to the admin and go to Plugins/Installed plugins
#### Clear cache
```shell
$ php bin/console cache:clear
```## Troubleshooting
### Frontpage display Symfony welcome screen
Please visit WordPress [permalink settings page](https://127.0.0.1:8000/edition/wp-admin/options-permalink.php) and save to flush rewrite cache