Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## wp cli というのを使う
- $ brew install homebrew/php/wp-cli
- ## ディレクトリ作成
- $ mkdir wordpress
- $ cd wordpress
- ## ワードプレスをダウンロード & インストール
- $ wp core download
- $ mysql -u root -p -e 'CREATE DATABASE wordpress;'
- $ wp config create --dbname=wordpress --dbuser=root --dbpass='rootpass'
- $ wp server
- ## インポート方法
- $ wp plugin install wordpress-importer --activate
- $ wp import xxxxx.xml —authors=create
Add Comment
Please, Sign In to add comment