Initial commit
This commit is contained in:
16
bin/install-wp.sh
Executable file
16
bin/install-wp.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# Install WordPress.
|
||||
wp core install \
|
||||
--title="Project" \
|
||||
--admin_user="wordpress" \
|
||||
--admin_password="wordpress" \
|
||||
--admin_email="admin@example.com" \
|
||||
--url="http://project.test" \
|
||||
--skip-email
|
||||
|
||||
# Update permalink structure.
|
||||
wp option update permalink_structure "/%year%/%monthnum%/%postname%/" --skip-themes --skip-plugins
|
||||
|
||||
# Activate plugin.
|
||||
wp plugin activate my-plugin
|
||||
Reference in New Issue
Block a user