-
Notifications
You must be signed in to change notification settings - Fork 27
/
setup.yml.js
32 lines (28 loc) · 1.18 KB
/
setup.yml.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
module.exports = (data) => `
# Fabrica Dev Kit setup configuration
# Modify for your project, then run \`fdk setup\` from this folder
# Project settings
slug: ${data.slug || 'fdk-project'} # lowercase letters only (also used for theme slug and PHP namespacing)
title: ${data.title || 'FDK Project'}
# WordPress settings
wp:
admin: # development site admin user credentials
user: ${data.wp_admin_user || 'fabrica'}
pass: ${data.wp_admin_pass || 'fabrica'}
email: ${data.wp_admin_email || '[email protected]'}
lang: en_US # dev site WP locale/language
rewrite_structure: /%postname%/ # dev site permalink structure (can be changed later)
multisite: ${data.multisite || false}
# uninstall WP CLI default plugins & themes
skip_default_plugins: true
skip_default_themes: true # uninstall WP CLI default themes
# acf_pro_key: # optional (if set will preinstall Advanced Custom Fields Pro)
plugins: # optional (installs plugins at setup - use URL slugs from WP plugins directory)
- fabrica-dashboard
# - advanced-custom-fields
# - force-regenerate-thumbnails
# Database settings
# db:
# prefix: wp_
package_manager: npm # Node package manager to use: either 'npm' or 'yarn'
`;