Skip to content

WordPress環境 のシンプル構築のため. to use simply WordPress develop env.

Notifications You must be signed in to change notification settings

ka2yuki/docker_wp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐛問題点/課題:Issue

📦Install

🏗️ Build Develop Env

docker-compose -f docker-compose.yml up --watch # also use -w
# check 
docker ps

check on browser http://localhost:8080

🔄Restart

# Containers
docker container stop wp mysql && docker container rm wp mysql
# Volumes
docker volume rm [hoge hoge] # nead to specify id

📝 memo

files

docker-compose:volumes

file/dir name meaning
.env passwordなど編集して使用できる予定たぶん

Docker Desktopのめも

  • Tab: Containers

    • Exec: コンテナ内の CLI
    • Files: コンテナ内の ファイルを表しているみたい
    • Stats: ながめる

wordpress CLI

WP-CLI Commands

Command 概要
wp admin ブラウザで /wp-admin/を開く
wp cache WPオブジェクトのCacheObjectの 操作
wp cap ユーザー権限の操作
wp cli ...
wp comment
wp config
wp core
wp db
wp dist-archive
wp embed
wp eval
wp eval-file
wp export
wp find
wp help
wp i18n
wp import
wp language
wp maintenance-mode
wp media
wp menu
wp network
wp option
wp package
wp plugin
wp post
wp post-type
wp profile
wp rewrite
wp role
wp scaffold
wp search-replace
wp server
wp shell
wp sidebar
wp site
wp super-admin
wp taxonomy
wp term
wp theme
wp transient
wp user
wp widget

more: WP-CLI Commands


History

About

WordPress環境 のシンプル構築のため. to use simply WordPress develop env.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published