-
-
Save marbaque/929aa37e75477ebe3cccbfc83d0b4e1d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp core download | |
wp core config --dbname="dbname" --dbuser="dbuser" --dbpass="dbpass" --extra-php <<PHP | |
/* Pressbooks */ | |
define( 'WP_DEFAULT_THEME', 'pressbooks-book' ); | |
define( 'PB_PRINCE_COMMAND', '/usr/bin/prince' ); | |
define( 'PB_KINDLEGEN_COMMAND', '/opt/kindlegen/kindlegen' ); | |
define( 'PB_EPUBCHECK_COMMAND', '/usr/bin/java -jar /opt/epubcheck-3.0.1/epubcheck-3.0.1.jar' ); | |
define( 'PB_XMLLINT_COMMAND', '/usr/bin/xmllint' ); | |
PHP | |
wp core install --url="http://domain.com" --title="Pressbooks" --admin_user="username" --admin_password="password" --admin_email="[email protected]" | |
wp core multisite-convert --title="Pressbooks" | |
wp plugin delete hello | |
wp plugin update-all | |
wp plugin install https://github.com/pressbooks/pressbooks/releases/download/v3.8.1/pressbooks-v3.8.1.zip --activate-network | |
wp theme list | |
wp theme enable pressbooks-book --network | |
wp theme enable clarke --network | |
wp theme enable donham --network | |
wp theme enable fitzgerald --network | |
wp theme enable austen --network | |
wp theme enable pressbooks-custom-css --network |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment