Download the PHP package leoloso/pop-app-wp without Composer
On this page you can find all versions of the php package leoloso/pop-app-wp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download leoloso/pop-app-wp
More information about leoloso/pop-app-wp
Files in leoloso/pop-app-wp
Package pop-app-wp
Short Description Bootstrap a PoP Application for WordPress
License MIT
Homepage https://github.com/leoloso/PoP-App-WP
Informations about the package pop-app-wp
Bootstrap a PoP Application for WordPress
Project to install a PoP application running on WordPress.
Install
Via Composer and WP-CLI (both are assumed to be installed globally):
- Create the WordPress database and user
- Configure WordPress through environment variables:
Copy the code below to an editor, replace all values (such as
{YOUR_SITE_DB_NAME}
) with your own values, and then either paste it on the terminal to execute, or save it in file "~/.bash_profile" and then executesource ~/.bash_profile
.
To set the SALT keys there are two alternatives:
I. Set random values through environment variable SHUFFLE_SALT_KEYS
:
II. Set the corresponding values directly:
-
Bootstrap a new project from this repo:
-
Wait for a few minutes ☕️😁
-
Execute
install
again to copy the WordPress must-use plugins under folder/mu-plugins
(somehow it doesn't do it withcreate-project
).cd
into the project's folder (by default"pop-app-wp"
) and execute: - ✅ The site is installed under:
- 👉WordPress site:
{YOUR_SITE_URL_WITH_HTTP}
- 👉WordPress admin:
{YOUR_SITE_URL_WITH_HTTP}
/wp/wp-admin/ - 👉PoP API:
{YOUR_SITE_URL_WITH_HTTP}/api/?query=fullSchema
Configure application options (optional)
Upon installation, the Composer script will create file config/.env
including default values for application options (passed as environment variables). You can further edit this file, or even create more specific ones (following Symfony's Dotenv component's file hierarchy).
Installed Components
This bootstrapper will install the following components (for WordPress):
Coming soon...
Usage
Coming soon...
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of pop-app-wp with dependencies
getpop/spa Version dev-master
getpop/component-model-configuration Version dev-master
getpop/base36definitionresolver Version dev-master
getpop/emojidefinitionresolver Version dev-master
getpop/persistentdefinitions Version dev-master
leoloso/pop-api-wp Version ^1.6
johnpbloch/wordpress Version >=5.3