Kili Boilerplate is a modern WordPress stack that helps you get started with the best theme development tools and project structure.
- Better folder structure
- Dependency management with Composer
- Easy WordPress configuration with environment specific files
- Environment variables with Dotenv
- Autoloader for mu-plugins (use regular plugins as mu-plugins)
- Enhanced security (separated web root and secure passwords with wp-password-bcrypt)
- PHP >= 5.6 Install Pilothouse or Install Mamp Pro
- Composer - Install
-
Download the latest release and setup.
-
Copy
.env.exampleto.envand update environment variables:
DB_NAME- Database nameDB_USER- Database userDB_PASSWORD- Database passwordDB_HOST- Database hostWP_ENV- Set to environment (development,staging,production)WP_HOME- Full URL to WordPress home (https://example.dev)AUTH_KEY,SECURE_AUTH_KEY,LOGGED_IN_KEY,NONCE_KEY,AUTH_SALT,SECURE_AUTH_SALT,LOGGED_IN_SALT,NONCE_SALTIf you want to automatically generate the security keys you can search for an online salt generator (https://api.wordpress.org/secret-key/1.1/salt/)
- You can start the app with Composer, this will launch the required containers:
$ composer install
-
Run Pilothouse or Mamp Pro
-
Go to the url server for example
https://example.devto start installing WordPress