A lightweight and modular Wordpress-Kit for developing fast and powerful, based on UIkit and _s/underscores.
- _s/underscores starter theme: https://github.com/automattic/_s
- UIkit front-end framework: https://github.com/uikit/uikit
- WordPress multi-environment config: https://github.com/studio24/wordpress-multi-env-config
- Clone the repo:
git clone git@github.com:whydesign/WPkit.git
- Run
./setup.sh files
- Edit your environment configs in
/wp-config/wp-config.env.php
and/wp-config/wp-config.local.php
- Optional: add your
wp-config.{ENV}.php
(e.g.wp-config.staging.php
) and edit your data
- Optional: add your
- Edit setup configs in
setup-cnf.sh
and.my.cnf
- Run
./setup.sh install
- Optional: Import starter SQL dump by answer with
y
or run./setup.sh import
- Optional: Import starter SQL dump by answer with
- Open
www.your.domain/wp-admin
and login withsuperuser
ande%tINpk7PKD1rCpz6a
- ⚠ Be sure to change your admin password ⚠
See all commands with ./setup.sh help
Use WP-CLI
- Install WP-CLI by running
./setup.sh wpcli-install
- Update WP-CLI by running
./setup.sh wpcli-update
- Show WP-CLI infos by running
./setup.sh wpcli-info
You want more infos about WP-CLI?
- WP-CLI Website: wp-cli.org
- WP-CLI GitHub Page: github.com/wp-cli/wp-cli
- Wordpress Developer Resources: developer.wordpress.org/cli/commands