Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
JayWood committed Jul 16, 2024
1 parent 400bed6 commit 5018c2a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion config/cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if wp db tables --allow-root | grep -q "wp_"; then
echo "Database already has tables, skipping wp core install"
else
echo "Database is empty, running wp core install"
wp core install --url="${WORDPRESS_URL}" --title="${WORDPRESS_TITLE}" --admin_user="${WORDPRESS_ADMIN_USER}" --admin_password="${WORDPRESS_ADMIN_PASSWORD}" --admin_email="${WORDPRESS_ADMIN_EMAIL}" --skip-email --allow-root
wp core install --url="http://www.jaycodesit.com" --title="Default Title" --admin_user="admin" --admin_password="password" --admin_email="noemail@example.com" --skip-email --allow-root
fi

wp theme activate papanek --allow-root;
Expand Down
2 changes: 0 additions & 2 deletions kube/wordpress-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ spec:
ports:
- containerPort: 80
env:
- name: WORDPRESS_URL
value: http://www.jaycodesit.com
- name: WORDPRESS_DB_HOST
value: jaycodesit-mysql
- name: WORDPRESS_DB_USER
Expand Down

0 comments on commit 5018c2a

Please sign in to comment.