質問編集履歴

2

細かい修正

2016/12/04 08:32

投稿

amaterasu
amaterasu

スコア8

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  vagrant,vccwで開発環境の勉強をしています。
4
4
 
5
- wordpressはサブディレクトリにインストールして使っています。
5
+ wordpressはサブディレクトリ'wp'以下にインストールして使っています。
6
6
 
7
7
 
8
8
 

1

Movefileの中身を追記しました。

2016/12/04 08:32

投稿

amaterasu
amaterasu

スコア8

test CHANGED
File without changes
test CHANGED
@@ -20,4 +20,110 @@
20
20
 
21
21
  ###補足情報(言語/FW/ツール等のバージョンなど)
22
22
 
23
+
24
+
23
25
  vagrant 1.8.7
26
+
27
+
28
+
29
+ ※追記 ---Movefileの中身です
30
+
31
+ URL等は書き換えています。
32
+
33
+ ```ここに言語を入力
34
+
35
+ local:
36
+
37
+ vhost: "http://example.dev"
38
+
39
+ wordpress_path: "/var/www/html/www/wp" # use an absolute path here
40
+
41
+
42
+
43
+ database:
44
+
45
+ name: "wordpress"
46
+
47
+ user: "wordpress"
48
+
49
+ password: "wordpress"
50
+
51
+ host: "localhost"
52
+
53
+ charset: "utf8"
54
+
55
+
56
+
57
+ # paths: # you can customize wordpress internal paths
58
+
59
+ # wp_content: "wp-content"
60
+
61
+ # uploads: "wp-content/uploads"
62
+
63
+ # plugins: "wp-content/plugins"
64
+
65
+ # mu_plugins: "wp-content/mu-plugins"
66
+
67
+ # themes: "wp-content/themes"
68
+
69
+ # languages: "wp-content/languages"
70
+
71
+
72
+
73
+ production:
74
+
75
+ vhost: "http://example.jp"
76
+
77
+ wordpress_path: "/home/example/example.jp/public_html/wp" # use an absolute path here
78
+
79
+
80
+
81
+ database:
82
+
83
+ name: "wordpress"
84
+
85
+ user: "wordpress"
86
+
87
+ password: "wordpress"
88
+
89
+ host: "mysql.example.jp"
90
+
91
+ port: "3306" # Use just in case you have exotic server config
92
+
93
+ mysqldump_options: "--max_allowed_packet=50MB" # Only available if using SSH
94
+
95
+
96
+
97
+ exclude:
98
+
99
+ - ".git/"
100
+
101
+ - ".gitignore"
102
+
103
+ - ".sass-cache/"
104
+
105
+ - "bin/"
106
+
107
+ - "Gemfile*"
108
+
109
+ - "Movefile"
110
+
111
+ - "wp-config.php"
112
+
113
+ - "wp-content/*.sql"
114
+
115
+
116
+
117
+ ssh:
118
+
119
+ host: "example.jp"
120
+
121
+ user: "example"
122
+
123
+ port: 00000
124
+
125
+ rsync_options: --verbose
126
+
127
+
128
+
129
+ ```