Skip to content

Instantly share code, notes, and snippets.

@heyggg
Created August 8, 2017 10:31
Show Gist options
  • Save heyggg/7871fea16dea1f6f3352b77da652a636 to your computer and use it in GitHub Desktop.
Save heyggg/7871fea16dea1f6f3352b77da652a636 to your computer and use it in GitHub Desktop.
wordmove conf
global:
sql_adapter: "default"
local:
# ドメインは適宜設定
vhost: "http://example.com"
wordpress_path: "/vagrant/src/"
database:
name: "wordpress"
user: "root"
password: "root"
host: "localhost"
staging:
# ドメインは適宜設定
vhost: "http://staging.example.com"
# サーバーのワードプレスのインストールディレクトリを設定
wordpress_path: "/staging/server/wordpress/src/dir"
database:
# 共用サーバーなどだとhostやport変更も必要かも
name: "wordpress_staging"
user: "example_user"
password: "example_user_password"
host: "localhost"
charset: "utf8"
exclude:
- ".git/"
- ".gitignore"
- ".sass-cache/"
- "node_modules/"
- "bin/"
- "tmp/*"
- "Gemfile*"
- "Movefile"
- "wp-config.php"
- "wp-content/*.sql.gz"
ssh:
host: "staging.example.com"
user: "example_user"
production:
# ドメインは適宜設定
vhost: "http://production.example.com"
# サーバーのワードプレスのインストールディレクトリを設定
wordpress_path: "/production/server/wordpress/src/dir"
database:
# name,user,passwordを適宜設定
# 共用サーバーなどだとhostやport変更も必要かも
name: "wordpress_production"
user: "example_user"
password: "example_user_password"
host: "localhost"
charset: "utf8"
exclude:
- ".git/"
- ".gitignore"
- ".sass-cache/"
- "node_modules/"
- "bin/"
- "tmp/*"
- "Gemfile*"
- "Movefile"
- "wp-config.php"
- "wp-content/*.sql.gz"
ssh:
host: "production.example.com"
user: "example_user"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment