Skip to content

Instantly share code, notes, and snippets.

@YuzuruSano
Created September 2, 2018 03:43
Show Gist options
  • Save YuzuruSano/c86133826f6ef05ccef2f7dedefbe8ed to your computer and use it in GitHub Desktop.
Save YuzuruSano/c86133826f6ef05ccef2f7dedefbe8ed to your computer and use it in GitHub Desktop.
WordPress default install setting
url: {http://xxx.com}
user: {admin_user}
color: false
core download:
locale: ja
version: latest
core config:
dbuser: {dbuser}
dbpass: {dbpass}
dbname: {dbname}
dbhost: {dbhost#dockerの場合はサービス名を指定するだけでOK}
extra-php: |
define( 'WP_DEBUG', false );
define( 'WP_POST_REVISIONS', 5 );
define('WP_LANG', 'ja');
core install:
admin_user: {admin_user}
url: {http://xxx.com}
admin_password: {admin_password}
admin_email: {admin_email}
title: "Wordpress test site"
#!/bin/sh
alias wp="/usr/local/bin/wp --allow-root"
wp core download
wp core config
wp core install
wp plugin install admin-menu-editor --activate
wp plugin install akismet --activate
wp plugin install contact-form-7
wp plugin install duplicate-post --activate
wp plugin install imsanity --activate
wp plugin install intuitive-custom-post-order --activate
wp plugin install mw-wp-form
wp plugin install parent-category-toggler --activate
wp plugin install password-protected --activate
wp plugin install ps-taxonomy-expander --activate
wp plugin install regenerate-thumbnails --activate
wp plugin install responsive-lightbox --activate
wp plugin install show-current-template --activate
wp plugin install siteguard
wp plugin install tinymce-advanced --activate
wp plugin install wp-optimize --activate
wp plugin install wp-pagenavi --activate
wp plugin install wp-multibyte-patch --activate
wp plugin install wordpress-seo --activate
wp plugin install custom-post-type-permalinks --activate
git clone https://github.com/YuzuruSano/suitosha_base_theme.git
mv ./suitosha_base_theme ./base_theme
rm -rf ./base_theme/.git*
mv ./base_theme ./wp-content/themes/
wp theme activate base_theme
# figlet Fight For Your Right
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment