I hereby claim:
- I am vardumper on github.
- I am iroybot (https://keybase.io/iroybot) on keybase.
- I have a public key ASD1zw5B2rtYT3lkbEQejOPr9FxPzYAcoUKEQ80jp14hAgo
To claim this, I am signing this object:
# either fork the repo and clone your fork, or clone this repo directly | |
git clone [email protected]:vardumper/wordpress-and-woocommerce-development-boilerplate.git my-project-folder | |
# installs all dependencies, themes and plugins | |
cd my-project-folder | |
composer install | |
# copies the distribution default .env file | |
cp .env-distribution .env |
define('WP_HTTP_BLOCK_EXTERNAL', true); | |
define('WP_ACCESSIBLE_HOSTS', 'api.wordpress.org,*.api.mailchimp.com,api.pay1.de,*.google.com'); |
{ | |
"name" : "githubuser/projectname", | |
"description" : "Project Name", | |
"type" : "project", | |
"license" : "GPL", | |
"authors" : [{ | |
"name" : "Your Name" | |
} | |
], | |
"repositories" : [{ |
#--------------------------------------------------------------------------------------------------# | |
# ENVIRONMENT SETTING # | |
# It can be anything, but "development", "staging" and "production" are supported out of the box. # | |
# Do not use "development" on production and viceversa, because it has effect on debug settings. # | |
#--------------------------------------------------------------------------------------------------# | |
WORDPRESS_ENV=development | |
#--------------------------------------------------------------------------------------------------# | |
# MANDATORY DATABASE SETTINGS # | |
#--------------------------------------------------------------------------------------------------# |
CREATE TABLE wp_postmeta_new ( | |
meta_id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, | |
post_id BIGINT UNSIGNED NOT NULL, | |
meta_key VARCHAR(255) NOT NULL, | |
meta_value LONGTEXT NOT NULL, | |
PRIMARY KEY(post_id, meta_key, meta_id), -- to allow dup meta_key for a post | |
INDEX(meta_id), -- to keep AUTO_INCREMENT happy | |
INDEX(meta_key) | |
) ENGINE=InnoDB; | |
INSERT INTO wp_postmeta_new SELECT * FROM wp_postmeta; |
INSERT INTO `import_export_profile` ( | |
`id`, | |
`name`, | |
`system_default`, | |
`source_entity`, | |
`file_type`, | |
`delimiter`, | |
`enclosure`, | |
`mapping`, | |
`created_at`, |
INSERT INTO `import_export_profile` ( | |
`id`, | |
`name`, | |
`system_default`, | |
`source_entity`, | |
`file_type`, | |
`delimiter`, | |
`enclosure`, | |
`mapping`, | |
`created_at`, |
<?php | |
declare(strict_types = 1); | |
use WebPConvert\WebPConvert; | |
set_time_limit(0); | |
chdir(dirname(__DIR__)); // one level up to project root | |
// check requirements | |
if (! is_file('vendor/autoload.php')) { | |
echo "File vendor/autoload.php not found. Is the path correct?"; | |
exit(); | |
} |
#!/usr/bin/env bash | |
CWD="$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)" | |
set -euo pipefail | |
export PROJECT_ROOT="${PROJECT_ROOT:-"$(dirname "$CWD")"}" | |
ADMIN_ROOT="${ADMIN_ROOT:-"${PROJECT_ROOT}/vendor/shopware/administration"}" |
I hereby claim:
To claim this, I am signing this object: