Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
- remove .env
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbahl committed Jul 19, 2021
1 parent e88ef9c commit e11c5a8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 31 deletions.
31 changes: 0 additions & 31 deletions .env

This file was deleted.

11 changes: 11 additions & 0 deletions bin/install-test-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,16 @@ configure_wordpress() {
wp rewrite structure '/%year%/%monthnum%/%postname%/'
}

install_acf_pro() {
if [ ! -d $WP_CORE_DIR/wp-content/plugins/advanced-custom-fields-pro ]; then
echo "Cloning ACF PRO"
git clone https://github.com/wp-premium/advanced-custom-fields-pro.git $WP_CORE_DIR/wp-content/plugins/advanced-custom-fields-pro
fi
echo "Cloning ACF PRO"
wp plugin activate advanced-custom-fields-pro
}


setup_plugin() {
# Add this repo as a plugin to the repo
if [ ! -d $WP_CORE_DIR/wp-content/plugins/wp-graphql-acf ]; then
Expand Down Expand Up @@ -187,4 +197,5 @@ setup_plugin() {
install_wp
install_db
configure_wordpress
install_acf_pro
setup_plugin

0 comments on commit e11c5a8

Please sign in to comment.